flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [2/2] git commit: [flex-asjs] [refs/heads/develop] - Added null check
Date Wed, 13 Nov 2013 18:01:30 GMT
Added null check

Signed-off-by: Erik de Bruin <erik@ixsoftware.nl>


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

Branch: refs/heads/develop
Commit: d1eee3afd8b1b7ef9c1b722c398ed2588d5a261d
Parents: 597bc3d
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Wed Nov 13 19:00:46 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Wed Nov 13 19:00:46 2013 +0100

----------------------------------------------------------------------
 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/d1eee3af/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 b605e93..4915061 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/utils/Language.js
@@ -74,7 +74,8 @@ org.apache.flex.utils.Language.is = function(leftOperand, rightOperand)
{
         return true;
       }
 
-      if (interfaces[i].prototype.FLEXJS_CLASS_INFO &&
+      if (interfaces[i] &&
+          interfaces[i].prototype.FLEXJS_CLASS_INFO &&
           interfaces[i].prototype.FLEXJS_CLASS_INFO.interfaces) {
         return checkInterfaces(new interfaces[i]());
       }


Mime
View raw message