partial fix for issue #217 (no async task runners in CanaryMod)
This commit is contained in:
parent
a71f74921b
commit
45c52e67d5
1 changed files with 2 additions and 2 deletions
|
@ -51,7 +51,7 @@ http.request( {
|
||||||
|
|
||||||
***/
|
***/
|
||||||
|
|
||||||
/*global exports, encodeURI, server, __plugin*/
|
/*global exports, encodeURI, server, __plugin, setTimeout*/
|
||||||
function paramsToString( params ) {
|
function paramsToString( params ) {
|
||||||
var result = '',
|
var result = '',
|
||||||
paramNames = [],
|
paramNames = [],
|
||||||
|
@ -82,7 +82,7 @@ function invokeLater( fn ){
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (__plugin.canary){
|
if (__plugin.canary){
|
||||||
fn();
|
setTimeout(fn,20);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue