I caught this from Slashdot earlier today. They have an online app that you can use to paste in your Javascript and then receive an optimised (and minified) version of your code (that is functionally the same). It also gives you warnings and identifies errors in your code.
From the Google Code site itself:
There is a Firefox plugin that partners with Firebug to allow you to debug your code as well.
Cheers,
Jeff
[tt]Visit my blog [!]@[/!] Visit Code Couch [!]@[/!] [/tt]
Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!
FAQ216-6094
From the Google Code site itself:
The Closure Compiler is a tool for making JavaScript download and run faster. It is a true compiler for JavaScript. Instead of compiling from a source language to machine code, it compiles from JavaScript to better JavaScript. It parses your JavaScript, analyzes it, removes dead code and rewrites and minimizes what's left. It also checks syntax, variable references, and types, and warns about common JavaScript pitfalls.
There is a Firefox plugin that partners with Firebug to allow you to debug your code as well.
Cheers,
Jeff
[tt]Visit my blog [!]@[/!] Visit Code Couch [!]@[/!] [/tt]
Make sure your web page and css validates properly against the doctype you have chosen - before you attempt to debug a problem!
FAQ216-6094