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

Method getHyperscriptFeatures

www/js/_hyperscript-max.js:2269–2275  ·  view source on GitHub ↗
(elt)

Source from the content-addressed store, hash-verified

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

Callers 4

addFeaturesMethod · 0.95
assignToNamespaceMethod · 0.95
evaluateFunction · 0.45
workerFuncFunction · 0.45

Calls 1

getInternalDataMethod · 0.95

Tested by

no test coverage detected