flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [05/50] [abbrv] git commit: [flex-asjs] [refs/heads/core_js_to_as] - eat errors
Date Thu, 08 Oct 2015 18:51:07 GMT
eat errors


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

Branch: refs/heads/core_js_to_as
Commit: c9bd62d613c1fb82e2b5b109f645f6c1ded7e006
Parents: 9e5abdf
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 8 23:19:31 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Sep 10 14:14:16 2015 -0700

----------------------------------------------------------------------
 .../Binding/as/src/org/apache/flex/binding/SimpleBinding.as    | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/c9bd62d6/frameworks/projects/Binding/as/src/org/apache/flex/binding/SimpleBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/as/src/org/apache/flex/binding/SimpleBinding.as b/frameworks/projects/Binding/as/src/org/apache/flex/binding/SimpleBinding.as
index fa86ed1..386571c 100644
--- a/frameworks/projects/Binding/as/src/org/apache/flex/binding/SimpleBinding.as
+++ b/frameworks/projects/Binding/as/src/org/apache/flex/binding/SimpleBinding.as
@@ -157,7 +157,11 @@ package org.apache.flex.binding
             else
                 source = document as IEventDispatcher;
 			source.addEventListener(eventName, changeHandler);
-			destination[destinationPropertyName] = source[sourcePropertyName];
+            try 
+            {
+    			destination[destinationPropertyName] = source[sourcePropertyName];
+            }
+            catch (e:Error) {}
 		}
 		
         /**


Mime
View raw message