flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [25/50] git commit: [flex-asjs] [refs/heads/develop] - allow bindings to have different destinations
Date Thu, 25 Sep 2014 16:04:07 GMT
allow bindings to have different destinations


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

Branch: refs/heads/develop
Commit: 410197980fcc9c72e71bef9f6e4442f42f46126d
Parents: 9e5c3b8
Author: Alex Harui <aharui@apache.org>
Authored: Tue Sep 23 09:43:50 2014 -0700
Committer: Alex Harui <aharui@apache.org>
Committed: Tue Sep 23 15:01:18 2014 -0700

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/41019798/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
index 18dc1f9..77a303d 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/BindingBase.js
@@ -80,7 +80,8 @@ org.apache.flex.binding.BindingBase.prototype.sourceID = null;
  * @param {Object} value The strand (owner) of the bead.
  */
 org.apache.flex.binding.BindingBase.prototype.set_strand = function(value) {
-  this.destination = value;
+  if (this.destination == null)
+    this.destination = value;
 
   if (this.sourceID != null)
   {


Mime
View raw message