flex-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aha...@apache.org
Subject [06/31] git commit: [flex-asjs] [refs/heads/develop] - fix this pointer
Date Tue, 09 Dec 2014 05:16:53 GMT
fix this pointer


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

Branch: refs/heads/develop
Commit: 3dec3b03af949b581ed8dbcb49872c6a2e5623ff
Parents: b2505eb
Author: Alex Harui <aharui@apache.org>
Authored: Fri Nov 21 16:42:43 2014 -0800
Committer: Alex Harui <aharui@apache.org>
Committed: Mon Dec 8 20:47:40 2014 -0800

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


http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/3dec3b03/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
----------------------------------------------------------------------
diff --git a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
index 5b9c20c..afdbfff 100644
--- a/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
+++ b/frameworks/js/FlexJS/src/org/apache/flex/core/CallLaterBead.js
@@ -71,7 +71,7 @@ org.apache.flex.core.CallLaterBead.prototype.callLater =
   else
     this.calls_.push({thisArg: opt_thisArg, fn: fn, args: opt_args });
 
-  window.setTimeout(this.callback, 0);
+  window.setTimeout(goog.bind(this.callback, this), 0);
 };
 
 


Mime
View raw message