mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-16 14:41:03 +00:00
Update std.js
This commit is contained in:
parent
d4f2b0c4c3
commit
a2678b1ab4
|
@ -77,7 +77,7 @@ global.sleep = function(ms, callback) {
|
||||||
|
|
||||||
if (typeof(WScript) !== "undefined") {
|
if (typeof(WScript) !== "undefined") {
|
||||||
while (cur < end) {
|
while (cur < end) {
|
||||||
WScript.Sleep(1);
|
//WScript.Sleep(1);
|
||||||
cur = Date.now();
|
cur = Date.now();
|
||||||
}
|
}
|
||||||
end = Date.now();
|
end = Date.now();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user