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'