T
timothytoe
Recently, JSLint seems to have been going through a lot of changes
(perhaps related to the release of Crockford's JavaScript book). Most
of the changes have been easy to accommodate, but a week or two ago I
started to get several messages that look like this:
"Be careful when making functions within a loop. Consider putting the
function in a closure."
There doesn't seem to be a way to turn off this message. I suppose I
could just ignore the message or gratuitously rewrite the code (which
works just fine as it is). But I was wondering if maybe I should start
using an offline version of JSLint rather than the online version so
I'm not affected by changes made to online JSLint in the middle of my
development cycle. Does anyone know if the offline version has more
control over the settings?
Has anyone else noticed JSLint changing a lot lately?
(perhaps related to the release of Crockford's JavaScript book). Most
of the changes have been easy to accommodate, but a week or two ago I
started to get several messages that look like this:
"Be careful when making functions within a loop. Consider putting the
function in a closure."
There doesn't seem to be a way to turn off this message. I suppose I
could just ignore the message or gratuitously rewrite the code (which
works just fine as it is). But I was wondering if maybe I should start
using an offline version of JSLint rather than the online version so
I'm not affected by changes made to online JSLint in the middle of my
development cycle. Does anyone know if the offline version has more
control over the settings?
Has anyone else noticed JSLint changing a lot lately?