Thursday, September 2, 2010

Aptana + JSLint = Better JavaScript & Hurt Feelings

JSLint is a tool developed by Douglas Crockford that searches for errors in your JavaScript code. From his site:
JavaScript is a sloppy language, but inside it there is an elegant, better language. JSLint helps you to program in that better language and to avoid most of the slop.
You can go to www.jslint.com and paste your code into the box and it will help you find errors. However, there is a much better way to take advantage of JSLint built right into Aptana Studio. You can go to ESRI's ArcGIS Server Blog to find out how to implement it. Then try not to be offended when it tears apart your code!

No comments:

Post a Comment