From e80a0a47fd54002ac1a6a403d2d3442e0fef1d6c Mon Sep 17 00:00:00 2001 From: Dan Vanderkam Date: Mon, 22 Jul 2013 23:21:06 -0400 Subject: [PATCH] update notes --- closure-todo.txt | 2 +- generate-combined.sh | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) 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 } -- 2.7.4