From 1a712b5f40f2b969cc1d684c7fb3b5815a5958e4 Mon Sep 17 00:00:00 2001 From: William Toohey Date: Fri, 11 Nov 2016 15:34:17 +1000 Subject: [PATCH] Fix linting --- gulpfile.js | 2 +- src/js/HuesUI.js | 2 +- src/js/SoundManager.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 23f400e..49fa4ed 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -62,7 +62,7 @@ gulp.task("minify", function () { }); gulp.task("lint", function () { - return gulp.src("src/js/*.js") + return gulp.src(["src/js/*.js", '!src/js/string_score.min.js']) .pipe(jshint('.jshintrc')) .pipe(jshint.reporter('default')); }); diff --git a/src/js/HuesUI.js b/src/js/HuesUI.js index a56c824..4bdfff2 100644 --- a/src/js/HuesUI.js +++ b/src/js/HuesUI.js @@ -197,7 +197,7 @@ class HuesUI { // ONLY FOR CHANGING UI, NOT FOR "HIDE" FEATURE show() { - this.root.style.visibility = "visible" + this.root.style.visibility = "visible"; } // ONLY FOR CHANGING UI, NOT FOR "HIDE" FEATURE diff --git a/src/js/SoundManager.js b/src/js/SoundManager.js index e3847af..28eef0b 100644 --- a/src/js/SoundManager.js +++ b/src/js/SoundManager.js @@ -31,7 +31,7 @@ class SoundManager { * Called when the audio has been seeked - reset time determined transforms */ seek : [] - } + }; this.core = core; this.playing = false;