7 ms·
For finding those kinds of mistakes use jslint (http://jslint.com http://jslint.com), though it doesnt catch calling a function with the wrong number of argumen
by marrone 18y ago
For finding those kinds of mistakes use jslint (http://jslint.com http://jslint.com), though it doesnt catch calling a function with the wrong number of arguments (which may be what you intended anyways). If you download the source you can easily write a custom command in vim or emacs to run the current buffer through jslint.
- vikram 18y agothere is flymake with Javascript configuration for emacs. I'll give that a try. http://www.emacswiki.org/cgi-bin/wiki/FlymakeJavaScript http://www.emacswiki.org/cgi-bin/wiki/FlymakeJavaScript