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

Function stamp

www/js/_hyperscript.js:10143–10151  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

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

Callers 1

initLiveTemplatesFunction · 0.70

Calls 2

processNodeMethod · 0.45
morphMethod · 0.45

Tested by

no test coverage detected