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

Function stamp

www/js/_hyperscript.esm.js:10141–10149  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

10139 }
10140 var stamped = false;
10141 function stamp(html) {
10142 if (!stamped) {
10143 wrapper.innerHTML = html;
10144 runtime2.processNode(wrapper);
10145 stamped = true;
10146 } else {
10147 runtime2.morph(wrapper, html);
10148 }
10149 }
10150 function render() {
10151 var ctx = runtime2.makeContext(wrapper, null, wrapper, null);
10152 var buf = [];

Callers 1

initLiveTemplatesFunction · 0.70

Calls 2

processNodeMethod · 0.45
morphMethod · 0.45

Tested by

no test coverage detected