OSSP CVS Repository

ossp - Check-in [6014]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 6014
Date: 2008-Aug-02 11:56:48 (local)
2008-Aug-02 09:56:48 (UTC)
User:rse
Branch:
Comment: fix passing of options
Tickets:
Inspections:
Files:
ossp-pkg/js/jslint.js      1.2 -> 1.3     1 inserted, 1 deleted

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"));

CVSTrac 2.0.1