From fa08d4c60602e40bc332e687d2e30c061bff4fb1 Mon Sep 17 00:00:00 2001 From: "Namhyeon, Go" Date: Mon, 21 Feb 2022 07:18:28 +0900 Subject: [PATCH] Update std.js --- lib/std.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 };