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/12/23 08:41:38 UTC

[15/28] git commit: [flex-asjs] [refs/heads/develop] - need goog.bind

need goog.bind


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

Branch: refs/heads/develop
Commit: 0a520a7e80e5b5004768c1c6701da77e99bc2365
Parents: 10206f2
Author: Alex Harui <ah...@apache.org>
Authored: Mon Dec 22 09:59:36 2014 -0800
Committer: Alex Harui <ah...@apache.org>
Committed: Mon Dec 22 09:59:36 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/0a520a7e/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
index 602942d..b52944a 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/binding/GenericBinding.js
@@ -131,7 +131,7 @@ org.apache.flex.binding.GenericBinding.prototype.applyValue =
     if (obj == null) {
        this.document.addEventListener(
            org.apache.flex.events.ValueChangeEvent.VALUE_CHANGE,
-           this.destinationChangeHandler);
+           goog.bind(this.destinationChangeHandler, this));
        return;
     }
     for (var i = 1; i < n - 1; i++)