mirror of
https://github.com/gnh1201/welsonjs.git
synced 2025-05-11 20:21:03 +00:00
Update std.js
This commit is contained in:
parent
9516a7f60d
commit
fa08d4c606
|
@ -135,9 +135,9 @@ function repeat(target, callback, onError) {
|
|||
}
|
||||
end = Date.now();
|
||||
} else if (typeof window !== "undefined") {
|
||||
if (typeof callback === "function")
|
||||
if (typeof callback === "function") {
|
||||
handler = setInterval(callback, ms);
|
||||
;
|
||||
}
|
||||
}
|
||||
|
||||
return { 'ms': end, 'handler': handler };
|
||||
|
|
Loading…
Reference in New Issue
Block a user