pull/3016/head
Conduitry 6 years ago committed by GitHub
parent 6c01c272f0
commit 049973eb2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -96,9 +96,7 @@ export let now: () => number = is_client
? () => window.performance.now() ? () => window.performance.now()
: () => Date.now(); : () => Date.now();
export let raf = (callback) => is_client && window.requestAnimationFrame export let raf = cb => requestAnimationFrame(cb);
? window.requestAnimationFrame.call(window, callback)
: undefined;
// used internally for testing // used internally for testing
export function set_now(fn) { export function set_now(fn) {

Loading…
Cancel
Save