Repository: flex-falcon Updated Branches: refs/heads/develop 506e0860e -> b4596d7c3
JSClosureCompilerWrapper: switched to CompilationLevel.WHITESPACE_ONLY for js-release so that external libraries will be compatible without jumping through hoops. we plan to expose gcc options as compiler arguments later, should someone prefer to use CompilationLevel.ADVANCED_OPTIMIZATION or make other changes to options. Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/b4596d7c Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/b4596d7c Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/b4596d7c Branch: refs/heads/develop Commit: b4596d7c3d1557f2218e3374ede00c7b83ba1687 Parents: 506e086 Author: Josh Tynjala <[email protected]> Authored: Thu Sep 24 14:19:32 2015 -0700 Committer: Josh Tynjala <[email protected]> Committed: Thu Sep 24 14:19:32 2015 -0700 ---------------------------------------------------------------------- .../org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b4596d7c/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java ---------------------------------------------------------------------- diff --git a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java index 10bc921..f804fa0 100644 --- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java +++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java @@ -131,7 +131,7 @@ public class JSClosureCompilerWrapper private void initOptions() { - CompilationLevel.ADVANCED_OPTIMIZATIONS.setOptionsForCompilationLevel( + CompilationLevel.WHITESPACE_ONLY.setOptionsForCompilationLevel( options_); WarningLevel.VERBOSE.setOptionsForWarningLevel(options_);
