Files
sigpro/sigpro-full.js
natxocc 99780e8399
All checks were successful
Deploy Docs to Synology / deploy (push) Successful in 3s
New modular Sigpro
2026-04-27 15:22:57 +02:00

12 lines
539 B
JavaScript

// sigpro-full.js
export * from './sigpro.js';
import './sigpro/tags.js';
import './sigpro/xss.js';
import { $, $$, watch, h, when, each, router, mount, batch } from './sigpro.js';
if (typeof window !== 'undefined') {
const props = {};
for (const fn of [['$', $], ['$$', $$], ['watch', watch], ['h', h], ['when', when], ['each', each], ['router', router], ['mount', mount], ['batch', batch]]) {
props[fn[0]] = { value: fn[1], writable: false, configurable: false, enumerable: true };
}
Object.defineProperties(window, props);
}