comment window assign
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 5s

This commit is contained in:
2026-04-16 15:27:40 +02:00
parent 8b45c84e67
commit b718fe20e4
6 changed files with 13 additions and 37 deletions

10
dist/sigpro.esm.js vendored
View File

@@ -559,15 +559,7 @@ var SigPro = Object.freeze({
Anim, Anim,
Batch Batch
}); });
var initDX = () => { 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 { export {
onUnmount, onUnmount,
onMount, onMount,

File diff suppressed because one or more lines are too long

10
dist/sigpro.js vendored
View File

@@ -617,13 +617,5 @@
Anim, Anim,
Batch Batch
}); });
var initDX = () => { 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);
});
}
};
})(); })();

2
dist/sigpro.min.js vendored

File diff suppressed because one or more lines are too long

View File

@@ -617,13 +617,5 @@
Anim, Anim,
Batch Batch
}); });
var initDX = () => { 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);
});
}
};
})(); })();

View File

@@ -544,14 +544,14 @@ const SigPro = Object.freeze({
}) })
export const initDX = () => { export const initDX = () => {
if (typeof window !== "undefined") { // if (typeof window !== "undefined") {
Object.assign(window, SigPro) // 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" // "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 => { // .split(" ").forEach(t => {
const name = t[0].toUpperCase() + t.slice(1) // const name = t[0].toUpperCase() + t.slice(1)
window[name] = (p, c) => Tag(t, p, c) // window[name] = (p, c) => Tag(t, p, c)
}) // })
} // }
} }
export { $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch } export { $, $$, Watch, Tag, Render, If, For, Router, Mount, onMount, onUnmount, Anim, Batch }