Refactor + add message box.

This commit is contained in:
Paul
2021-06-20 20:30:42 +01:00
parent b8fba749af
commit 9e460c5b3d
28 changed files with 225 additions and 120 deletions

3
src/lib/defer.ts Normal file
View File

@@ -0,0 +1,3 @@
export function defer(cb: () => void) {
setTimeout(cb, 0);
}