From 6c01c272f0b081a9ac3d845dbed888d8942886dd Mon Sep 17 00:00:00 2001 From: Johan van Eck Date: Thu, 13 Jun 2019 20:10:01 +0200 Subject: [PATCH] Move from apply to call --- src/runtime/internal/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/runtime/internal/utils.ts b/src/runtime/internal/utils.ts index e63daf64a4..65e64a7c12 100644 --- a/src/runtime/internal/utils.ts +++ b/src/runtime/internal/utils.ts @@ -97,7 +97,7 @@ export let now: () => number = is_client : () => Date.now(); export let raf = (callback) => is_client && window.requestAnimationFrame - ? window.requestAnimationFrame.apply(window, callback) + ? window.requestAnimationFrame.call(window, callback) : undefined; // used internally for testing