File: README

package info (click to toggle)
ola 0.10.9.nojsmin-7.1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 17,492 kB
  • sloc: cpp: 132,294; python: 14,445; javascript: 7,109; sh: 4,713; ansic: 2,189; java: 518; xml: 253; makefile: 175
file content (24 lines) | stat: -rw-r--r-- 885 bytes parent folder | download | duplicates (7)
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