flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From erikdebr...@apache.org
Subject [09/11] git commit: [flex-asjs] [refs/heads/develop] - Fixed type check.
Date Wed, 13 Nov 2013 10:44:40 GMT
Fixed type 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/f322c891
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/f322c891
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/f322c891

Branch: refs/heads/develop
Commit: f322c891d84c1f63d707196f47d4cb3bd039fc3a
Parents: 56e2d7c
Author: Erik de Bruin <erik@ixsoftware.nl>
Authored: Wed Nov 13 10:23:21 2013 +0100
Committer: Erik de Bruin <erik@ixsoftware.nl>
Committed: Wed Nov 13 10:23:21 2013 +0100

----------------------------------------------------------------------
 frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/f322c891/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
index 9d3c41e..e55cf3c 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/WatcherBase.js
@@ -172,7 +172,7 @@ org.apache.flex.binding.WatcherBase.prototype.wrapUpdate =
     var n = staticClass.allowedErrorTypes.length;
     for (var i = 0; i < n; i++)
     {
-      if (error.constructor == staticClass.allowedErrorTypes[i].type)
+      if (org.apache.flex.utils.Language.is(error, staticClass.allowedErrorTypes[i].type))
       {
         var handler = staticClass.allowedErrorTypes[i].handler;
         if (handler != null)


Mime
View raw message