2 # Generates a single JS file that's easier to include.
3 # This packed JS includes a partial copy of MochiKit and PlotKit.
4 # It winds up being 146k uncompressed and 37k gzipped.
6 # Do the same for MochiKit. This save another 77k.
9 Base Iter DOM Style Color Signal \
10 > /tmp
/mochikit-packed.js
13 # Pack the dygraphs JS. This saves another 22k.
19 java
-jar custom_rhino.jar
-c
/tmp
/dygraph.js \
20 > /tmp
/dygraph-packed.js
22 # TODO(danvk): ensure the dygraphs copyright, etc. gets into the packed js.
25 /tmp
/mochikit-packed.js \
26 strftime
/strftime-min.js \
27 /tmp
/dygraph-packed.js \