ossp-pkg/js/jslint.js 1.2 -> 1.3
--- jslint.js 2007/02/08 09:30:09 1.2
+++ jslint.js 2008/08/02 09:56:48 1.3
@@ -2567,7 +2567,7 @@
var script = file.readAll();
file.close();
-if (!jslint(script, { passfail: true })) {
+if (!jslint(script, options)) {
var e = jslint.errors[0];
print('jslint: line ' + (e.line + 1) + ' character ' + (e.character + 1) + ': ' + e.reason);
print((e.evidence || ''). replace(/^\s*(\S*(\s+\S+)*)\s*$/, "$1"));
|
|