flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [01/10] git commit: [flex-falcon] [refs/heads/develop] - fix when we wrap bindables
Date Tue, 09 Dec 2014 05:16:58 GMT
Repository: flex-falcon
Updated Branches:
  refs/heads/develop fade31b4a -> bfb8e0bba


fix when we wrap bindables


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

Branch: refs/heads/develop
Commit: 2ee09584ef0a0798411cb9b7982abfd1318193ca
Parents: 18b12c2
Author: Alex Harui <aharui@apache.org>
Authored: Tue Dec 2 23:18:38 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 8 17:25:01 2014 -0800

----------------------------------------------------------------------
 .../flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-falcon/blob/2ee09584/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
----------------------------------------------------------------------
diff --git a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
index f0145ab..1799d76 100644
--- a/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
+++ b/compiler.jx/src/org/apache/flex/compiler/internal/codegen/js/flexjs/JSFlexJSEmitter.java
@@ -1272,7 +1272,7 @@ public class JSFlexJSEmitter extends JSGoogEmitter implements IJSFlexJSEmitter
 	        for (IMetaInfo metaInfo : metaInfos)
 	        {
 	            String name = metaInfo.getTagName();
-	            if (name.equals("Bindable"))
+	            if (name.equals("Bindable") && metaInfo.getAllAttributes().length ==
0)
 	            {
 	                isBindableSetter = true;
 	                break;


Mime
View raw message