Thursday, September 27, 2012

javascript - JSLint's issue with 'window' as a global variable - Stack Overflow

javascript - JSLint's issue with 'window' as a global variable - Stack Overflow: "Just make a comment in your script like that:

/*global window */

... your script goes here

This comment will tell JSLint that window is defined somewhere else."

'via Blog this'