RSS

Closure Compiler – JavaScript Tool

16 Jul

Hi folks,

Here is a post which will helps in compile the JavaScript code.

What is the Closure Compiler?,
https://developers.google.com/closure/compiler/

Tool to validate the Javascript code
http://closure-compiler.appspot.com/home

Steps to follow to validate the JS code:

1. Open the above URL in the browser
2. Paste your Javascript code in the left pane
3. Click on the Compile button
4. Formated Compiled code / Warnings/ Errors can see in the right side pane.
5. Want to see the output format in different ways use the Pretty print and Print input delimiter
6. To optimize the code, use Optimization section and see the difference in the output.

Below is the screen shot for your reference.

Closure_10May13Y

Happy Learning!.

Get glued to know more updates.

Have a nice day 🙂

 

 

Advertisements
 
Leave a comment

Posted by on July 16, 2013 in Uncategorized

 

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

 
%d bloggers like this: