diff --git a/.jshintrc b/.jshintrc index 1419d9f..0b99fb8 100644 --- a/.jshintrc +++ b/.jshintrc @@ -9,5 +9,6 @@ "noarg": true, "undef": true, "unused": "vars", - "strict": true + "strict": true, + "browser": true } diff --git a/elements/Gui.js b/elements/Gui.js index 24d30f6..a8bda49 100644 --- a/elements/Gui.js +++ b/elements/Gui.js @@ -1,5 +1,3 @@ -/* globals document */ - (function(scope) { 'use strict'; diff --git a/elements/controller-number/controller-number.js b/elements/controller-number/controller-number.js index 28e5c94..f678c81 100644 --- a/elements/controller-number/controller-number.js +++ b/elements/controller-number/controller-number.js @@ -1,4 +1,4 @@ -/* globals Gui, Polymer, window */ +/* globals Gui, Polymer */ 'use strict'; /* diff --git a/elements/gui-panel/gui-panel.js b/elements/gui-panel/gui-panel.js index c285fed..e70caca 100644 --- a/elements/gui-panel/gui-panel.js +++ b/elements/gui-panel/gui-panel.js @@ -1,4 +1,4 @@ -/* globals Polymer, window, document, Path, Gui */ +/* globals Polymer, Path, Gui */ 'use strict'; // [ ] scrolling when docked