1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
This javascript uses the Google Closure library -
http://closure-library.googlecode.com/
To build it you'll need a copy of closure checked out in the javascript
directory. You can do this by running :
svn checkout http://closure-library.googlecode.com/svn/trunk/
You'll also need the javascript compiler from
http://code.google.com/closure/compiler/
Then to compile the javascript, run:
trunk/closure/bin/build/closurebuilder.py --root=trunk/ --root=ola
--namespace="ola.Setup" --output_mode=compiled --compiler_jar=compiler.jar
--compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" >
../olad/www/ola.js
To build the mobile version run:
trunk/closure/bin/build/closurebuilder.py --root=trunk/ --root=ola
--namespace="ola.mobile" --output_mode=compiled --compiler_jar=compiler.jar
--compiler_flags="--compilation_level=ADVANCED_OPTIMIZATIONS" >
../olad/www/mobile.js
|