flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [15/28] git commit: [flex-asjs] [refs/heads/develop] - need goog.bind
Date Tue, 23 Dec 2014 07:41:38 GMT
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 <aharui@apache.org>
Authored: Mon Dec 22 09:59:36 2014 -0800
Committer: Alex Harui <aharui@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++)


Mime
View raw message