flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [1/9] git commit: [flex-asjs] [refs/heads/develop] - absorb errors
Date Thu, 10 Sep 2015 21:35:46 GMT
Repository: flex-asjs
Updated Branches:
  refs/heads/develop 9e5abdf50 -> cc7f0d01b


absorb 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/8592a204
Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/8592a204
Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/8592a204

Branch: refs/heads/develop
Commit: 8592a204b6aa85ff685b597931f83a76cd47b5c0
Parents: 2e43d44
Author: Alex Harui <aharui@apache.org>
Authored: Thu Sep 10 14:08:07 2015 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Thu Sep 10 14:14:16 2015 -0700

----------------------------------------------------------------------
 .../Binding/js/src/org/apache/flex/binding/SimpleBinding.js   | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/8592a204/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js b/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
index cac627d..4846f06 100644
--- a/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
+++ b/frameworks/projects/Binding/js/src/org/apache/flex/binding/SimpleBinding.js
@@ -51,8 +51,11 @@ org.apache.flex.binding.SimpleBinding.prototype.eventName = '';
  * @export
  */
 org.apache.flex.binding.SimpleBinding.prototype.changeHandler = function() {
-  this.destination[this.destinationPropertyName] =
-      this.source[this.sourcePropertyName];
+  try {
+    this.destination[this.destinationPropertyName] =
+        this.source[this.sourcePropertyName];
+  }
+  catch (e) {}
 };
 
 


Mime
View raw message