This trivial project is designed to demonstrate some of the features of Google's Closure tools.
Run make
. This will download the Closure library and compiler and build both
compiled and uncompiled versions. Visit compiled.html
and uncompiled.html
in your web browser to run them.
Change COMPILATION_LEVEL
at the top of Makefile
and rebuild. Compare the
compiled code in compiled.js
.
Change USE_STRING_FORMAT
at the top of Makefile
and rebuild. Compare the
compiled code in compiled.js
.
Visit toy/incrementer_tests.html
in your web browser.
Download the Closure linter from http://code.google.com/closure/utilities/
and run make lint
.