I get a
'document' has not been fully defined yet.
$(document).ready(function () {
warning from jsLint
.
I get why this happends but I would like my code to be warning free.
My question is - how do I either solve this in code (assign document to itself? var document=document
?) or maybe make the warning go away some other way.
Thanks.
document
has been defined. Is this a bug in JSLint?document
. I.E - the variable is used inside its definition. similar tovar x = 3 + x;