MCPcopy Index your code
hub / github.com/bigskysoftware/_hyperscript / workerPlugin

Function workerPlugin

src/ext/worker.js:170–172  ·  view source on GitHub ↗
(_hyperscript)

Source from the content-addressed store, hash-verified

168}
169
170export default function workerPlugin(_hyperscript) {
171 _hyperscript.addFeature(WorkerFeature.keyword, WorkerFeature.parse.bind(WorkerFeature));
172}
173
174// Auto-register when imported
175if (typeof self !== 'undefined' && self._hyperscript) {

Callers

nothing calls this directly

Calls 1

addFeatureMethod · 0.45

Tested by

no test coverage detected