flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [31/31] git commit: [flex-asjs] [refs/heads/develop] - fix is/as
Date Tue, 09 Dec 2014 05:17:18 GMT
fix is/as


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

Branch: refs/heads/develop
Commit: 43cd5b577fbbe656d94dba378231b134749d5317
Parents: 22d812b
Author: Alex Harui <aharui@apache.org>
Authored: Mon Dec 8 20:45:55 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 8 21:09:30 2014 -0800

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/43cd5b57/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
index f29433d..e88f6a4 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -109,7 +109,8 @@ org.apache.flex.utils.Language.is = function(leftOperand, rightOperand)
{
       }
 
       if (interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
-        return checkInterfaces(new interfaces[i]());
+        var isit = checkInterfaces(new interfaces[i]());
+        if (isit) return true;
       }
     }
 


Mime
View raw message