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

Function stamp

tools/common/_hyperscript.iife.js:9909–9917  ·  view source on GitHub ↗
(html)

Source from the content-addressed store, hash-verified

9907 }
9908 var stamped = false;
9909 function stamp(html) {
9910 if (!stamped) {
9911 wrapper.innerHTML = html;
9912 runtime.processNode(wrapper);
9913 stamped = true;
9914 } else {
9915 runtime.morph(wrapper, html);
9916 }
9917 }
9918 function render() {
9919 var ctx = runtime.makeContext(wrapper, null, wrapper, null);
9920 var buf = [];

Callers 1

Calls 2

processNodeMethod · 0.45
morphMethod · 0.45

Tested by

no test coverage detected