mirror of
https://github.com/xuxiaobo-bobo/boda_jsEnv.git
synced 2025-04-22 11:41:11 +08:00
'07182'
This commit is contained in:
parent
e42b4ada4e
commit
f73f8f9bfa
@ -1172,19 +1172,13 @@
|
||||
"timeoutID": bodavm.memory.globalInit.timeoutID,
|
||||
'settime_name': 'setTimeout'
|
||||
};
|
||||
if (delay == 0) {
|
||||
// debugger
|
||||
console.log_copy(`window_setTimeout `, `delay->为0 立马开始执行`);
|
||||
|
||||
func.call(this, argList)
|
||||
}
|
||||
else {
|
||||
if (bodavm.memory.asyncEvent.setTimeout === undefined) {
|
||||
bodavm.memory.asyncEvent.setTimeout = [];
|
||||
}
|
||||
// bodavm.toolsFunc.symbolProperty(event)
|
||||
bodavm.memory.asyncEvent.setTimeout.push(event);
|
||||
}
|
||||
|
||||
|
||||
return bodavm.memory.globalInit.timeoutID;
|
||||
};
|
||||
@ -1246,16 +1240,11 @@
|
||||
"timeoutID": bodavm.memory.globalInit.timeoutID,
|
||||
'settime_name': 'setInterval'
|
||||
};
|
||||
//if (delay == 0) {
|
||||
// debugger
|
||||
// console.log_copy(`window_setInterval `, `delay->为0 立马开始执行`);
|
||||
|
||||
// func.call(this, argList)
|
||||
// } else {
|
||||
if (bodavm.memory.asyncEvent.setTimeout === undefined) {
|
||||
bodavm.memory.asyncEvent.setTimeout = [];
|
||||
}
|
||||
//}
|
||||
|
||||
|
||||
// bodavm.toolsFunc.symbolProperty(event)
|
||||
bodavm.memory.asyncEvent.setTimeout.push(event);
|
||||
|
Loading…
x
Reference in New Issue
Block a user