Wednesday, June 16, 2004

Making a local JavaScript syntax checker

If you are an Html-kit user and like to write a little javascript from time to time, then you may want to check out how you can install a local JavaScript syntax checker. Mark Anderson describes how to combine Douglas Crockford's JS Lint with the hkShowInTemplate plug-in to enable you to check your syntax easily and with no fuss.

The folks at Html-Kit have obtained the author's consent to install a local copy of JS Lint for use with the plug-in. The JS Lint page is a free service kindly provided by Douglas Crockford. The main JS Lint page has a link to supporting documentation. JS Lint is a syntax checker - which will help you spot errors in your syntax, such as unmatched pairs of '{}' braces, missing ';' at line ends, etc.

No comments:

Post a Comment