Turn on Closure compilers SIMPLE_OPTIMIZATIONS. Slightly change how svgedit namespace is set up in each module

git-svn-id: http://svg-edit.googlecode.com/svn/trunk@1931 eee81c28-f429-11dd-99c0-75d572ba1ddd
This commit is contained in:
Jeff Schiller
2011-01-18 06:46:45 +00:00
parent 8379711c3e
commit 6b8958bd39
10 changed files with 22 additions and 37 deletions

View File

@@ -43,10 +43,11 @@ build/$(PACKAGE): $(COMPILED_JS)
# Create the release version of the main HTML file.
build/tools/ship.py --i=editor/svg-editor.html --on=svg_edit_release > build/$(PACKAGE)/svg-editor.html
# codedread: NOTE: Some files are not ready for the Closure compiler: (jquery)
# NOTE: Some files are not ready for the Closure compiler: (jquery)
# NOTE: Our code is *not* ready for ADVANCED_OPTIMIZATIONS
$(COMPILED_JS):
java -jar $(CLOSURE) \
--compilation_level WHITESPACE_ONLY \
--compilation_level SIMPLE_OPTIMIZATIONS \
$(CLOSURE_JS_ARGS) \
--js_output_file $(COMPILED_JS)