partial fix for issue #217 (no async task runners in CanaryMod)

This commit is contained in:
walterhiggins 2015-02-21 10:43:12 +00:00
parent a71f74921b
commit 45c52e67d5
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ http.request( {
***/
/*global exports, encodeURI, server, __plugin*/
/*global exports, encodeURI, server, __plugin, setTimeout*/
function paramsToString( params ) {
var result = '',
paramNames = [],
@ -82,7 +82,7 @@ function invokeLater( fn ){
return;
}
if (__plugin.canary){
fn();
setTimeout(fn,20);
return;
}
}