Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Google open sources it's JS tools online

Status
Not open for further replies.

BabyJeffy

Programmer
Sep 10, 2003
4,189
GB
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:

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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top