flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [14/19] git commit: [flex-falcon] [refs/heads/develop] - fix createjs externs
Date Wed, 25 May 2016 18:25:21 GMT
fix createjs externs


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

Branch: refs/heads/develop
Commit: b1542e9856acb95c8faf5c20c7f2cdfd912d8a3d
Parents: b262713
Author: Alex Harui <aharui@apache.org>
Authored: Tue May 24 12:09:32 2016 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue May 24 21:08:21 2016 -0700

----------------------------------------------------------------------
 .../externals/reference/MethodReference.java    |   2 +-
 externs/createjs/src/main/patch/easeljs.patch   | 626 +++++++++----------
 externs/createjs/src/main/patch/tweenjs.patch   | 128 ++--
 3 files changed, 378 insertions(+), 378 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/b1542e98/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
----------------------------------------------------------------------
diff --git a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
index 6cfbadf..61d8c1b 100644
--- a/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
+++ b/compiler-jx/src/main/java/org/apache/flex/compiler/internal/codegen/externals/reference/MethodReference.java
@@ -221,7 +221,7 @@ public class MethodReference extends MemberReference
         	sb.append(".");
         	sb.append(getClassReference().getBaseName());
         	sb.append(".");
-        	if (isStatic)
+        	if (!isStatic)
         		sb.append("prototype.");
         	sb.append(qName);    		
         	sb.append(" = function "); 		


Mime
View raw message