From: arno Date: Mon, 14 Mar 2011 15:12:47 +0000 (+0100) Subject: set some jslint options X-Git-Tag: v0.3~27 X-Git-Url: https://dev.renevier.net/?p=syj.git;a=commitdiff_plain;h=76f5c6b6e045bfc963ea148661b135b5992a3238 set some jslint options --- diff --git a/scripts/rhino.js b/scripts/rhino.js index 6a85f9a..2afb32c 100644 --- a/scripts/rhino.js +++ b/scripts/rhino.js @@ -21,8 +21,9 @@ Copyright (c) 2002 Douglas Crockford (www.JSLint.com) Rhino Edition quit(1); } if (!JSLINT(input, {bitwise: true, eqeqeq: true, immed: true, - newcap: true, nomen: true, onevar: true, plusplus: true, - regexp: true, rhino: true, undef: true, white: true})) { + newcap: true, nomen: true, onevar: false, plusplus: false, + regexp: true, rhino: true, undef: false, white: false, + 'continue': true})) { for (i = 0; i < JSLINT.errors.length; i += 1) { e = JSLINT.errors[i]; if (e) {