MCPcopy Create free account
hub / github.com/bigskysoftware/_hyperscript / interceptPlugin

Function interceptPlugin

src/ext/intercept.js:136–138  ·  view source on GitHub ↗
(_hyperscript)

Source from the content-addressed store, hash-verified

134}
135
136export default function interceptPlugin(_hyperscript) {
137 _hyperscript.addFeature(InterceptFeature.keyword, InterceptFeature.parse.bind(InterceptFeature));
138}
139
140// Auto-register when imported
141if (typeof self !== 'undefined' && self._hyperscript) {

Callers

nothing calls this directly

Calls 1

addFeatureMethod · 0.45

Tested by

no test coverage detected