You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flex.apache.org by ah...@apache.org on 2014/10/18 07:43:44 UTC

[27/30] git commit: [flex-asjs] [refs/heads/develop] - Fix wrong variable

Fix wrong variable


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

Branch: refs/heads/develop
Commit: 76f46fe75a80d2f9b1915ecc979c2c7376299338
Parents: b88c889
Author: Alex Harui <ah...@apache.org>
Authored: Thu Oct 16 22:47:11 2014 -0700
Committer: Alex Harui <ah...@apache.org>
Committed: Fri Oct 17 22:38:48 2014 -0700

----------------------------------------------------------------------
 .../FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as    | 4 ++--
 .../src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as      | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/76f46fe7/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
index 744d82a..3758e94 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/ContainerDataBinding.as
@@ -180,11 +180,11 @@ package org.apache.flex.core
                             if (destObject)
                             {
                                 cb.destination = destObject;
-                                _strand.addBead(sb);
+                                _strand.addBead(cb);
                             }
                             else
                             {
-                                deferredBindings[binding.destination[0]] = sb;
+                                deferredBindings[binding.destination[0]] = cb;
                                 IEventDispatcher(_strand).addEventListener("valueChange", deferredBindingsHandler);
                             }
                         }

http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/76f46fe7/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
----------------------------------------------------------------------
diff --git a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
index 248951a..f41340c 100644
--- a/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
+++ b/frameworks/as/projects/FlexJSJX/src/org/apache/flex/core/MXMLBeadViewBaseDataBinding.as
@@ -148,11 +148,11 @@ package org.apache.flex.core
                                     if (destObject)
                                     {
                                         cb.destination = destObject;
-                                        _strand.addBead(sb);
+                                        _strand.addBead(cb);
                                     }
                                     else
                                     {
-                                        deferredBindings[binding.destination[0]] = sb;
+                                        deferredBindings[binding.destination[0]] = cb;
                                         IEventDispatcher(_strand).addEventListener("valueChange", deferredBindingsHandler);
                                     }
                                 }