The Better way
By now, we are all using some compiler to compile your code. Right? If you haven’t started, grab the Closure Compiler to follow through on this example.
- Download the latest Closure Compiler http://closure-compiler.googlecode.com/files/compiler-latest.zip
- Copy the compiler.jar file into your directory with the JS Files.
- follow along below and enjoy!