diff --git a/lib/std.js b/lib/std.js index f932b35..32c3ee6 100644 --- a/lib/std.js +++ b/lib/std.js @@ -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 };