MCPcopy Create free account
hub / github.com/microsoft/SandDance / close

Function close

docs/app/js/sanddance-app.js:124018–124024  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

124016 return m;
124017 },
124018 close () {
124019 const tag = stack.pop();
124020 if (outer) buf += outer + (inner ? `>${inner}</${tag}>` : "/>");
124021 else buf += `</${tag}>`;
124022 clear();
124023 return m;
124024 },
124025 attr: attr3,
124026 text: (t)=>(inner += innerText(t), m),
124027 toString: ()=>buf

Callers

nothing calls this directly

Calls 1

clearFunction · 0.70

Tested by

no test coverage detected