From: Dan Vanderkam Date: Sun, 21 Jul 2013 11:39:56 +0000 (-0400) Subject: switch to uglifyjs for minification; another ~5k savings X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=5ea09b2c466df1c170dd5181189bd3f5a6674ec5;p=dygraphs.git switch to uglifyjs for minification; another ~5k savings --- diff --git a/chopping-block.txt b/chopping-block.txt index fdb78f5..b43d2b4 100644 --- a/chopping-block.txt +++ b/chopping-block.txt @@ -31,6 +31,7 @@ $ make test-combined 122403 replace rgbcolor.js with a DOM trick. 122185 consolidate findPos{X,Y} 120905 move custom circles into extras/circles.js + 115027 switch to uglifyjs TODO: diff --git a/generate-combined.sh b/generate-combined.sh index d5aefeb..76d232c 100755 --- a/generate-combined.sh +++ b/generate-combined.sh @@ -36,7 +36,8 @@ Copyright () { CatMinified () { Copyright CatSources \ - | java -jar yuicompressor-2.4.2.jar --type js + | uglifyjs - -c -m + # | java -jar yuicompressor-2.4.2.jar --type js } ACTION="${1:-update}"