jshint browser so things like document do not have to be declared as globals

This commit is contained in:
Doug Fritz 2014-09-04 17:33:25 -07:00
parent 02fafca0ef
commit fff108a63f
4 changed files with 4 additions and 5 deletions

View File

@ -9,5 +9,6 @@
"noarg": true, "noarg": true,
"undef": true, "undef": true,
"unused": "vars", "unused": "vars",
"strict": true "strict": true,
"browser": true
} }

View File

@ -1,5 +1,3 @@
/* globals document */
(function(scope) { (function(scope) {
'use strict'; 'use strict';

View File

@ -1,4 +1,4 @@
/* globals Gui, Polymer, window */ /* globals Gui, Polymer */
'use strict'; 'use strict';
/* /*

View File

@ -1,4 +1,4 @@
/* globals Polymer, window, document, Path, Gui */ /* globals Polymer, Path, Gui */
'use strict'; 'use strict';
// [ ] scrolling when docked // [ ] scrolling when docked