>Warning: Undeclared global variable "$" detected > >Also: > >Warning: Undeclared global variable "window" detected
jslint wants you to declare your globals at the top of your file with a comment: /*global window, $ */ http://www.jslint.com/lint.html (find "/*global"). There's really no other way to be sure you know what you're doing with globals. Also read up on the "Assume a browser" option in the same area of the docs. -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
