Remove Google Closure Compiler and use UglifyJS instead, as it does not break the library and yields to similar compressions results.

This commit is contained in:
Jürg Lehni 2011-03-07 11:10:35 +00:00
parent 6d8c7787bd
commit bab7985185
2 changed files with 3 additions and 3 deletions

Binary file not shown.

View file

@ -26,7 +26,7 @@
# commented Preprocessed but still formated and commented (default)
# stripped Formated but without comments
# compressed No comments and no whitespaces
# compiled Uses Google Closure Compiler to reduce file size even more
# uglified Uses UglifyJS to further reduce file size
KEYWORD="//#"
@ -44,9 +44,9 @@ case $4 in
/./,/^$/!d
p' > $2
;;
compiled)
uglified)
./filepp.pl -kc $KEYWORD $3 $1 > temp.js
java -jar compiler.jar --js temp.js --js_output_file $2
../../uglifyjs/bin/uglifyjs temp.js --extra --unsafe --reserved-names "$eval,$sign" > $2
rm temp.js
;;
esac