Skip to content

Commit

Permalink
make asyncMethod return the setTimeout handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Miles committed Nov 6, 2012
1 parent 2dd3d5c commit 8013d1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/g-component.html
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@
// asyncMethod impl

var asyncMethod = function(inMethod, inArgs, inTimeout) {
window.setTimeout(function() {
return window.setTimeout(function() {
this[inMethod].apply(this, inArgs);
}.bind(this), inTimeout || 0);
};
Expand Down

0 comments on commit 8013d1a

Please sign in to comment.