From: Daniel Brooks Date: Tue, 22 Feb 2011 23:42:25 +0000 (-0600) Subject: [#354] fix a brain-fart in jslint-check.js that was causing it to not report errors... X-Git-Tag: v0.4~33^2~1^2 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=ec6ce1d1ab488fe2d7047e045f487e2ec156c56e;p=popcorn-js.git [#354] fix a brain-fart in jslint-check.js that was causing it to not report errors in the first file it checked, which means that it never reported any errors in popcorn.js --- diff --git a/build/jslint-check.js b/build/jslint-check.js index 7afb7a4..4d11dfc 100644 --- a/build/jslint-check.js +++ b/build/jslint-check.js @@ -14,10 +14,9 @@ var ok = { function check(src) { - var e = JSLINT.errors, found = 0, w; - JSLINT(src, { evil: true, forin: true, maxerr: 100 }); + var e = JSLINT.errors, found = 0, w; for ( var i = 0; e && i < e.length; i++ ) { w = e[i];