first commit

This commit is contained in:
root
2026-04-08 17:52:38 +08:00
commit 70a2ca66f3
12436 changed files with 1921163 additions and 0 deletions
+9
View File
@@ -0,0 +1,9 @@
import { isClient } from "./browser.mjs";
//#region ../../packages/utils/raf.ts
const rAF = (fn) => isClient ? window.requestAnimationFrame(fn) : setTimeout(fn, 16);
const cAF = (handle) => isClient ? window.cancelAnimationFrame(handle) : clearTimeout(handle);
//#endregion
export { cAF, rAF };
//# sourceMappingURL=raf.mjs.map