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

Method getHyperscriptFeatures

www/js/_hyperscript.esm.js:2268–2274  ·  view source on GitHub ↗
(elt)

Source from the content-addressed store, hash-verified

2266 return new Context(owner, feature, hyperscriptTarget, event, this, this.#globalScope, this.#kernel, this.#tokenizer);
2267 }
2268 getHyperscriptFeatures(elt) {
2269 var data = this.getInternalData(elt);
2270 if (!data.features) {
2271 data.features = {};
2272 }
2273 return data.features;
2274 }
2275 addFeatures(owner, ctx) {
2276 if (owner) {
2277 Object.assign(ctx.locals, this.getHyperscriptFeatures(owner));

Callers 3

addFeaturesMethod · 0.95
assignToNamespaceMethod · 0.95
evaluateFunction · 0.45

Calls 1

getInternalDataMethod · 0.95

Tested by

no test coverage detected