diff --git a/js/app.js b/js/app.js index 302a326..86dc728 100644 --- a/js/app.js +++ b/js/app.js @@ -1,4 +1,4 @@ -/*jshint es5: true */ +/*jshint browser:true */ /*globals MIDI, React, App, $ */ /** diff --git a/js/components/Channel/Board.js b/js/components/Channel/Board.js index bdb8522..50ce076 100644 --- a/js/components/Channel/Board.js +++ b/js/components/Channel/Board.js @@ -1,4 +1,4 @@ -/*jshint nomen:true */ +/*jshint browser:true */ /*globals React, App */ (function () { diff --git a/js/components/Control.js b/js/components/Control.js index 56cd224..1dacf81 100644 --- a/js/components/Control.js +++ b/js/components/Control.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals App, React */ (function () { diff --git a/js/components/Error.js b/js/components/Error.js index 416b4b8..6905062 100644 --- a/js/components/Error.js +++ b/js/components/Error.js @@ -1,4 +1,4 @@ -/*jshint nomen:true */ +/*jshint browser:true */ /*globals React, App */ (function () { diff --git a/js/components/Key/Board.js b/js/components/Key/Board.js index e143964..bdb9dad 100644 --- a/js/components/Key/Board.js +++ b/js/components/Key/Board.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals React, App */ (function () { diff --git a/js/components/Key/Key.js b/js/components/Key/Key.js index aaac665..0f9d449 100644 --- a/js/components/Key/Key.js +++ b/js/components/Key/Key.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals React, App */ (function () { diff --git a/js/components/UI/Scroll.js b/js/components/UI/Scroll.js index 3c11237..8734211 100644 --- a/js/components/UI/Scroll.js +++ b/js/components/UI/Scroll.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals React, App */ (function () { diff --git a/js/init.js b/js/init.js index e646863..6c08ef9 100644 --- a/js/init.js +++ b/js/init.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals React */ /** diff --git a/js/midi/file.js b/js/midi/file.js index 87d4866..1818562 100644 --- a/js/midi/file.js +++ b/js/midi/file.js @@ -1,4 +1,4 @@ -/*jshint es5: true, bitwise: true */ +/*jshint browser:true, bitwise:false */ /*globals DOMLoader, MidiFile, App */ /** @@ -35,7 +35,7 @@ this.meta = options.meta || {}; this.program = options.program || 0; this.muted = options.muted || false; - this.solo = options.solo || false; + this.hidden = options.solo || false; this.pending = options.pending || {}; } diff --git a/js/midi/io.js b/js/midi/io.js index 757a715..1f34683 100644 --- a/js/midi/io.js +++ b/js/midi/io.js @@ -1,4 +1,4 @@ -/*jshint es5: true, bitwise: true */ +/*jshint browser:true, bitwise:false */ /*globals App */ /** diff --git a/js/modal.js b/js/modal.js index 04114cd..0b67a4f 100644 --- a/js/modal.js +++ b/js/modal.js @@ -1,3 +1,4 @@ +/*jshint browser:true */ /*globals React, App, $ */ (function () {