| 1 |
shrinksafe.jar requires js.jar (Rhino) in the same directory. |
| 2 |
|
| 3 |
Usage: |
| 4 |
|
| 5 |
java -jar shrinksafe.jar somescript.js > minifiedscript.js |
| 6 |
|
| 7 |
There is a build-time version dependency between shrinksafe.jar and js.jar. |
| 8 |
Shrinksafe must be built and used with a particular version of Rhino. To build, |
| 9 |
run build.sh in this directory. Mozilla Rhino is licensed under MPL |
| 10 |
1.1 (see LICENSE) and is available from http://www.mozilla.org/rhino. |
| 11 |
|
| 12 |
shrinksafe.jar is known to work with these Rhino versions: |
| 13 |
- 1.7R1 |
| 14 |
|
| 15 |
This version of ShrinkSafe will be incompatible with Rhino 1.7R3 and beyond |
| 16 |
due to changes in the Rhino API. |