Correct jslint errors
authorymh <ymh.work@gmail.com>
Mon, 17 Oct 2016 18:51:48 +0200
changeset 347 9779512454af
parent 346 4cd0f8c936ed
child 348 a5e8d037304b
Correct jslint errors
cms/app-client/app/components/playlist-component.js
cms/app-client/app/components/transcript-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 {
--- 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'));
         }
     },