flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mschma...@apache.org
Subject git commit: [flex-falcon] [refs/heads/develop] - Added jQuery excludes until we get EXTERNC figured out with external libraires.
Date Thu, 18 Jun 2015 21:32:24 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop f35f69840 -> 27448ec2f


Added jQuery excludes until we get EXTERNC figured out with external libraires.


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

Branch: refs/heads/develop
Commit: 27448ec2f9b9a47b762aeff005e411f16d2d9534
Parents: f35f698
Author: Michael Schmalle <mschmalle@apache.org>
Authored: Thu Jun 18 17:31:48 2015 -0400
Committer: Michael Schmalle <mschmalle@apache.org>
Committed: Thu Jun 18 17:31:48 2015 -0400

----------------------------------------------------------------------
 .../codegen/externals/ExternalsTestUtils.java   | 21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/27448ec2/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java
----------------------------------------------------------------------
diff --git a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java
b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java
index 2c44675..ea3b908 100644
--- a/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java
+++ b/compiler.jx.tests/src/org/apache/flex/compiler/internal/codegen/externals/ExternalsTestUtils.java
@@ -79,6 +79,27 @@ public class ExternalsTestUtils
         config.addExclude("SVGStylable", "style");
         config.addExclude("SVGLocatable", "farthestViewportElement");
         config.addExclude("SVGLocatable", "nearestViewportElement");
+
+        // jQuery XXX (these will need to be defined in some config when we get external
libs
+        // working correctly with EXTERNC)
+        config.addClassToFunction("$");
+
+        config.addExclude("jQuery", "is");
+        config.addExclude("jQuery", "promise");
+        config.addExclude("jQuery", "getJSON");
+        config.addExclude("jQuery", "ajax");
+        config.addExclude("jQuery", "when");
+        config.addExclude("jQuery", "post");
+        config.addExclude("jQuery", "getScript");
+        config.addExclude("jQuery", "Callbacks");
+
+        config.addClassExclude("Deferred");
+        config.addClassExclude("jQuery.deferred");
+        config.addClassExclude("jQuery.Event");
+        config.addClassExclude("jQuery.Deferred");
+        config.addClassExclude("$.Event");
+        config.addClassExclude("$.Deferred");
+        config.addClassExclude("$.deferred");
     }
 
     public static void addTestExternalsFull(ExternCConfiguration config)


Mime
View raw message