# HG changeset patch # User ymh # Date 1476723108 -7200 # Node ID 9779512454af34a72a5aec87c61766d37c410a60 # Parent 4cd0f8c936ed6d2530308cace6ea6397ad405da2 Correct jslint errors diff -r 4cd0f8c936ed -r 9779512454af cms/app-client/app/components/playlist-component.js --- a/cms/app-client/app/components/playlist-component.js Mon Oct 17 18:07:53 2016 +0200 +++ b/cms/app-client/app/components/playlist-component.js Mon Oct 17 18:51:48 2016 +0200 @@ -17,7 +17,7 @@ return document.get('id'); })); if(this.get('player').get('items').length && this.get('player').get('playing') === false) { - this.get('player').set('item', this.get('player').get('items')[0]); + this.get('player').set('item', this.get('player').get('items')[0]); } }).on('init'), @@ -71,7 +71,7 @@ this.get('player').displayAdditionalInformation('transcript'); }, - displayNotice: function(id) { + displayNotice: function() { if(this.get('player').get('window') !== 'notice') { this.get('player').displayMetadata('notice'); } else { diff -r 4cd0f8c936ed -r 9779512454af cms/app-client/app/components/transcript-component.js --- a/cms/app-client/app/components/transcript-component.js Mon Oct 17 18:07:53 2016 +0200 +++ b/cms/app-client/app/components/transcript-component.js Mon Oct 17 18:51:48 2016 +0200 @@ -36,7 +36,7 @@ Ember.$('#' + self.elementId).parent().on('scroll', Ember.run.bind(self, self.onScroll)); }, 100); }); - this.set('previousElement', target.attr('data-ember-action')) + this.set('previousElement', target.attr('data-ember-action')); } },