Repository: flex-falcon Updated Branches: refs/heads/develop 151b03d58 -> 966cc7e03
turn off goog.DEBUG when compiling js-release so you can strip out debug-only code. Language.as will leverage it, maybe other places as well Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/966cc7e0 Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/966cc7e0 Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/966cc7e0 Branch: refs/heads/develop Commit: 966cc7e039cbbd6ee7b536bab8a4d7470699614a Parents: 151b03d Author: Alex Harui <aha...@apache.org> Authored: Wed Nov 16 10:56:24 2016 -0800 Committer: Alex Harui <aha...@apache.org> Committed: Wed Nov 16 10:56:24 2016 -0800 ---------------------------------------------------------------------- .../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/966cc7e0/compiler-jx/src/main/java/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java ---------------------------------------------------------------------- diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java b/compiler-jx/src/main/java/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java index b462568..668194c 100644 --- a/compiler-jx/src/main/java/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java +++ b/compiler-jx/src/main/java/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java @@ -188,7 +188,7 @@ public class JSClosureCompilerWrapper // (erikdebruin) set compiler flags to 'strictest' to allow maximum // code optimization - options_.setDefineToBooleanLiteral("goog.DEBUG", true); + options_.setDefineToBooleanLiteral("goog.DEBUG", false); // ToDo (erikdebruin): re-evaluate this option on future GC release options_.setLanguageIn(LanguageMode.ECMASCRIPT5_STRICT);