You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/12/09 06:17:18 UTC

[31/31] git commit: [flex-asjs] [refs/heads/develop] - fix is/as

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 <ah...@apache.org>
Authored: Mon Dec 8 20:45:55 2014 -0800
Committer: Alex Harui <ah...@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;
       }
     }