8398c9048d
code was modified slightly, so the code differs from the original downloadable 1.9.5 version
14 lines
486 B
Text
14 lines
486 B
Text
shrinksafe.jar requires js.jar (Rhino) in the same directory.
|
|
|
|
Usage:
|
|
|
|
java -jar shrinksafe.jar somescript.js > minifiedscript.js
|
|
|
|
There is a version dependency between shrinksafe.jar and js.jar. Shrinksafe
|
|
must be built and used with a particular version of Rhino. To build,
|
|
run build.sh in this directory. Mozilla Rhino is licensed under MPL
|
|
1.1 (see LICENSE) and is available from http://www.mozilla.org/rhino.
|
|
|
|
shrinksafe.jar is known to work with these Rhino versions:
|
|
- 1.7R1
|
|
|