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

Function parentContext

www/js/_hyperscript-max.js:11089–11092  ·  view source on GitHub ↗
(componentEl)

Source from the content-addressed store, hash-verified

11087 return cache[prop];
11088 }
11089 function parentContext(componentEl) {
11090 var parent = componentEl.parentElement;
11091 return parent ? runtime2.makeContext(parent, null, parent, null) : null;
11092 }
11093 function createAttrs(componentEl) {
11094 return new Proxy({ _hsSkipTracking: true }, {
11095 get: function(_, prop) {

Callers 1

createAttrsFunction · 0.70

Calls 1

makeContextMethod · 0.45

Tested by

no test coverage detected