From ec6ce1d1ab488fe2d7047e045f487e2ec156c56e Mon Sep 17 00:00:00 2001 From: Daniel Brooks Date: Tue, 22 Feb 2011 17:42:25 -0600 Subject: [PATCH] [#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 --- build/jslint-check.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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]; -- 2.43.0