UNPKG

@nent/core

Version:

Functional elements to add routing, data-binding, dynamic HTML, declarative actions, audio, video, and so much more. Supercharge static HTML files into web apps without script or builds.

15 lines (12 loc) 557 B
/*! * NENT 2022 */ import { d as createWorker } from './expressions.js'; const workerName = 'remarkable.worker'; const workerMsgId = 'stencil.remarkable.worker'; const workerPath = /*@__PURE__*/new URL('./assets/remarkable.worker-c64fab3c.js', import.meta.url).href; const blob = new Blob(['importScripts("' + workerPath + '")'], { type: 'text/javascript' }); const url = URL.createObjectURL(blob); const worker = /*@__PURE__*/createWorker(url, workerName, workerMsgId); URL.revokeObjectURL(url); export { worker, workerMsgId, workerName, workerPath };