flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [2/2] git commit: [flex-falcon] [refs/heads/develop] - 'setLanguageIn' seems to be causing problems with this GC release and since it's really only a 'nice-to-have', I've commented it out for the time being.
Date Fri, 27 Jun 2014 08:04:21 GMT
'setLanguageIn' seems to be causing problems with this GC release and since it's really only
a 'nice-to-have', I've commented it out for the time being.

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


Project: http://git-wip-us.apache.org/repos/asf/flex-falcon/repo
Commit: http://git-wip-us.apache.org/repos/asf/flex-falcon/commit/18e70746
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/18e70746
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/18e70746

Branch: refs/heads/develop
Commit: 18e70746c044e14ce81b6a6f78c145997415094a
Parents: 2956973
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Fri Jun 27 10:04:00 2014 +0200
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Fri Jun 27 10:04:00 2014 +0200

----------------------------------------------------------------------
 .../org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/18e70746/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 ade255f..9edfa66 100644
--- a/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
+++ b/compiler.jx/src/org/apache/flex/compiler/utils/JSClosureCompilerWrapper.java
@@ -30,7 +30,6 @@ import com.google.javascript.jscomp.CommandLineRunner;
 import com.google.javascript.jscomp.CompilationLevel;
 import com.google.javascript.jscomp.Compiler;
 import com.google.javascript.jscomp.CompilerOptions;
-import com.google.javascript.jscomp.CompilerOptions.LanguageMode;
 import com.google.javascript.jscomp.DiagnosticGroups;
 import com.google.javascript.jscomp.JSError;
 import com.google.javascript.jscomp.SourceFile;
@@ -143,7 +142,8 @@ public class JSClosureCompilerWrapper
             options_.getDefineReplacements().put(
                     "goog.DEBUG", new Node(Token.TRUE));
             
-            options_.setLanguageIn(LanguageMode.ECMASCRIPT5_STRICT);
+            // ToDo (erikdebruin): re-evaluate this option on future GC release
+            //options_.setLanguageIn(LanguageMode.ECMASCRIPT6_STRICT);
             
             options_.setPreferSingleQuotes(true);
             


Mime
View raw message