Hello.
I tried to integrate jslint [1] with node.js.
I downloaded jslint file [2] and added at the end of file
exports.JSLINT = JSLINT;
Then I wrote a (primitive) node server [3].
When I connect to the server, in the console I get the following
message:
/home/icebox/My/Lib/SciTE/fulljslint.js:1107
at = s.search(/ \t/);
^
TypeError: Object 102 has no method 'search'
at nextLine (/home/icebox/My/Lib/SciTE/fulljslint.js:1107:20)
at Object.init (/home/icebox/My/Lib/SciTE/fulljslint.js:1178:17)
at /home/icebox/My/Lib/SciTE/fulljslint.js:5320:13
at /home/icebox/My/Lib/SciTE/node_fulljslint.js:32:18
at fs:78:13
at node.js:176:9
Usually with rhino, for instance, I have no problem with
fulljslint.js.
Any idea about node.js (0.1.95) error?
Thanks in advance,
Alberto
[1]
http://www.jslint.com/
[2]
http://www.jslint.com/fulljslint.js
[3]
http://pastebin.com/jPhVT4Pi
--
You received this message because you are subscribed to the Google Groups "nodejs" group.
To post to this group, send email to
nod...@googlegroups.com.
To unsubscribe from this group, send email to
nodejs+un...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en.