@thoschu/canvas-web-component
Version:
Web Components made by Tom S. with Stencil.js
27 lines (21 loc) • 1 kB
JavaScript
;
Object.defineProperty(exports, '__esModule', { value: true });
const index = require('./index-7689adbc.js');
const appGlobals = require('./app-globals-3a1e7e63.js');
/*
Stencil Client Patch Browser v4.21.0 | MIT Licensed | https://stenciljs.com
*/
var patchBrowser = () => {
const importMeta = (typeof document === 'undefined' ? new (require('u' + 'rl').URL)('file:' + __filename).href : (document.currentScript && document.currentScript.src || new URL('canvas-web-component.cjs.js', document.baseURI).href));
const opts = {};
if (importMeta !== "") {
opts.resourcesUrl = new URL(".", importMeta).href;
}
return index.promiseResolve(opts);
};
patchBrowser().then(async (options) => {
await appGlobals.globalScripts();
return index.bootstrapLazy([["canvas-component.cjs",[[1,"canvas-component",{"copy":[4],"type":[1],"config":[16],"stage":[32],"get":[64]}]]]], options);
});
exports.setNonce = index.setNonce;
//# sourceMappingURL=canvas-web-component.cjs.js.map