flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [6/8] git commit: [flex-falcon] [refs/heads/develop] - The 'AddEventListener' method is marked 'deprecated' in the goog library, so the compiler complains we use it. This makes it ignore those warnings.
Date Fri, 15 Nov 2013 14:57:06 GMT
The 'AddEventListener' method is marked 'deprecated' in the goog library, so the compiler complains
we use it. This makes it ignore those warnings.

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/5a80ec0d
Tree: http://git-wip-us.apache.org/repos/asf/flex-falcon/tree/5a80ec0d
Diff: http://git-wip-us.apache.org/repos/asf/flex-falcon/diff/5a80ec0d

Branch: refs/heads/develop
Commit: 5a80ec0d37c78d099abef3e34c598c569d8d5abd
Parents: 40dddef
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Fri Nov 15 15:16:46 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Fri Nov 15 15:16:46 2013 +0100

----------------------------------------------------------------------
 .../compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/5a80ec0d/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
index 34438a2..a0b3f5c 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/mxml/flexjs/MXMLFlexJSPublisher.java
@@ -240,6 +240,7 @@ public class MXMLFlexJSPublisher extends JSGoogPublisher implements
             optionList.add("--jscomp_warning=constantProperty");
             optionList.add("--jscomp_warning=strictModuleDepCheck");
             optionList.add("--jscomp_warning=visibility");
+            optionList.add("--jscomp_off=deprecated");
         }
         
         optionList.add("--closure_entry_point=" + projectName);


Mime
View raw message