1.2.13
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 6s

This commit is contained in:
2026-04-16 15:20:37 +02:00
parent 2b86fec0ee
commit 8b45c84e67
5 changed files with 113 additions and 33 deletions

30
dist/sigpro.esm.js vendored
View File

@@ -544,14 +544,34 @@ var Mount = (comp, target) => {
MOUNTED_NODES.set(t, inst);
return inst;
};
var SigPro = Object.freeze({ $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch });
if (typeof window !== "undefined") {
Object.assign(window, SigPro);
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => window[t[0].toUpperCase() + t.slice(1)] = (p, c) => SigPro.Tag(t, p, c));
}
var SigPro = Object.freeze({
$,
$$,
Watch,
Tag,
Render,
If,
For,
Router,
Mount,
onMount,
onUnmount,
Anim,
Batch
});
var initDX = () => {
if (typeof window !== "undefined") {
Object.assign(window, SigPro);
"div span p h1 h2 h3 h4 h5 h6 br hr section article aside nav main header footer ul ol li a em strong pre code form label input textarea select button img svg".split(" ").forEach((t) => {
const name = t[0].toUpperCase() + t.slice(1);
window[name] = (p, c) => Tag(t, p, c);
});
}
};
export {
onUnmount,
onMount,
initDX,
Watch,
Tag,
Router,