chore: semis
This commit is contained in:
parent
7394f9b317
commit
97c3bb8c5a
|
@ -51,8 +51,8 @@ if (!raf) {
|
||||||
export {caf as cancelAnimationFrame};
|
export {caf as cancelAnimationFrame};
|
||||||
export {raf as requestAnimationFrame};
|
export {raf as requestAnimationFrame};
|
||||||
// setInterval, but for animations. :)
|
// setInterval, but for animations. :)
|
||||||
let said = 0
|
let said = 0;
|
||||||
const handles = {}
|
const handles = {};
|
||||||
export function setAnimation(fn) {
|
export function setAnimation(fn) {
|
||||||
const id = ++said;
|
const id = ++said;
|
||||||
const wfn = (time) => {
|
const wfn = (time) => {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user