Skip to content

Latest commit

 

History

History

javascript

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
This javascript uses the Google Closure library -
https://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 https://closure-library.googlecode.com/svn/trunk/

You'll also need the javascript compiler from
https://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