Move from apply to call

pull/3016/head
Johan van Eck 6 years ago
parent 7a89c78185
commit 6c01c272f0

@ -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

Loading…
Cancel
Save