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

Function socketPlugin

src/ext/socket.js:190–192  ·  view source on GitHub ↗
(_hyperscript)

Source from the content-addressed store, hash-verified

188}
189
190export default function socketPlugin(_hyperscript) {
191 _hyperscript.addFeature(SocketFeature.keyword, SocketFeature.parse.bind(SocketFeature));
192}
193
194// Auto-register when imported
195if (typeof self !== 'undefined' && self._hyperscript) {

Callers

nothing calls this directly

Calls 1

addFeatureMethod · 0.45

Tested by

no test coverage detected