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

Method getHyperscriptFeatures

www/js/_hyperscript.js:2270–2276  ·  view source on GitHub ↗
(elt)

Source from the content-addressed store, hash-verified

2268 return new Context(owner, feature, hyperscriptTarget, event, this, this.#globalScope, this.#kernel, this.#tokenizer);
2269 }
2270 getHyperscriptFeatures(elt) {
2271 var data = this.getInternalData(elt);
2272 if (!data.features) {
2273 data.features = {};
2274 }
2275 return data.features;
2276 }
2277 addFeatures(owner, ctx) {
2278 if (owner) {
2279 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