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

Function parentContext

www/js/ext/component.js:678–681  ·  view source on GitHub ↗
(componentEl)

Source from the content-addressed store, hash-verified

676 return cache[prop];
677 }
678 function parentContext(componentEl) {
679 var parent = componentEl.parentElement;
680 return parent ? runtime.makeContext(parent, null, parent, null) : null;
681 }
682 function createAttrs(componentEl) {
683 return new Proxy({ _hsSkipTracking: true }, {
684 get: function(_, prop) {

Callers 1

createAttrsFunction · 0.70

Calls 1

makeContextMethod · 0.45

Tested by

no test coverage detected