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