From: Dan Vanderkam Date: Tue, 23 Jul 2013 03:21:06 +0000 (-0400) Subject: update notes X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=e80a0a47fd54002ac1a6a403d2d3442e0fef1d6c;p=dygraphs.git update notes --- diff --git a/closure-todo.txt b/closure-todo.txt index ddc3a1d..aa5d967 100644 --- a/closure-todo.txt +++ b/closure-todo.txt @@ -38,4 +38,4 @@ As each file is closurized, it can be added as a "--js" parameter. NOTES - Should add .getNumericOption() and .getStringOption() which are aliases for .getOption() but returns number/string, not *. -- plugin-free code is 52778 compiled; for uglifyjs it's 83031 (36% savings) +- plugin-free code is 59756 compiled; for uglifyjs it's 83031 (30% savings) diff --git a/generate-combined.sh b/generate-combined.sh index 2c09487..7165efc 100755 --- a/generate-combined.sh +++ b/generate-combined.sh @@ -36,8 +36,10 @@ Copyright () { CatMinified () { Copyright CatSources \ - | java -jar ../../closure-compiler-read-only/build/compiler.jar --js ../../closure-library-read-only/closure/goog/base.js --js - --js dygraph-exports.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js --externs gviz-api.js --formatting PRETTY_PRINT --output_wrapper='(function() {%output%})();' - + | java -jar ../../closure-compiler-read-only/build/compiler.jar --js ../../closure-library-read-only/closure/goog/base.js --js - --js dygraph-exports.js --compilation_level ADVANCED_OPTIMIZATIONS --warning_level VERBOSE --externs dygraph-externs.js --externs gviz-api.js --output_wrapper='(function() {%output%})();' + # Add this for debugging: + # --formatting PRETTY_PRINT + #| uglifyjs - -c 'warnings=false' -m # | java -jar yuicompressor-2.4.2.jar --type js }