Some tests use global variables, such as document or Event, which are not tin the .jshint's predef or global list. Should we just add the "browser": true field to the .jshintrc to simply include all globals defined by the browser, or add them on a case by case basis?
Some tests use global variables, such as document or Event, which are not tin the .jshint's predef or global list. Should we just add the "browser": true field to the .jshintrc to simply include all globals defined by the browser, or add them on a case by case basis?