Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I've been burned several times by missing semicolons when minifying my code. Now I make sure they're always there. I'm also running everything through JSLint.


I think JSLint can be a big help, especially with semicolons so I made a quick jQuery plugin to run things through it on page load. So I know exactly when something may be wrong.

http://github.com/ejschmitt/AutoLint


I'm using the Javascript Tools bundle for TextMate. It runs JSLint every time I save a javascript file.

http://github.com/subtleGradient/javascript-tools.tmbundle




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: