jsx/solid bundle

This commit is contained in:
Robin Appelman 2023-04-10 18:57:46 +02:00
commit 10ea8ddcbc
16 changed files with 458 additions and 44 deletions

7
script/ready.ts Normal file
View file

@ -0,0 +1,7 @@
export function ready(cb: () => void) {
if (document.readyState === "complete") {
cb();
} else {
document.addEventListener("DOMContentLoaded", cb);
}
}