After pressing Ctrl+A(select all), Copy to clipboard(Ctrl+C).
What is the Closure Compiler?
| 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.
|
| Compression,Optimization Level
|
*Simple Optimizations
Performs compression and optimization that does not interfere with the interaction between the compiled JavaScript and other JavaScript. This level renames only local variables.
|
*Whitespace Only
Just removes whitespace and comments from your JavaScript.
|
|