From 8013d1a1f4a90b51a45be790f7870a841f9110b6 Mon Sep 17 00:00:00 2001 From: Scott Miles Date: Mon, 5 Nov 2012 18:40:17 -0800 Subject: [PATCH] make asyncMethod return the setTimeout handle --- src/g-component.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g-component.html b/src/g-component.html index acae8ef7..99dd0a46 100644 --- a/src/g-component.html +++ b/src/g-component.html @@ -379,7 +379,7 @@ license that can be found in the LICENSE file. // asyncMethod impl var asyncMethod = function(inMethod, inArgs, inTimeout) { - window.setTimeout(function() { + return window.setTimeout(function() { this[inMethod].apply(this, inArgs); }.bind(this), inTimeout || 0); };