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

Function open

docs/app/js/sanddance-app.js:124012–124017  ·  view source on GitHub ↗
(tag, ...attrs)

Source from the content-addressed store, hash-verified

124010 return m;
124011 }, m = {
124012 open (tag, ...attrs) {
124013 push(tag);
124014 outer = "<" + tag;
124015 for (const set of attrs)for(const key in set)attr3(key, set[key]);
124016 return m;
124017 },
124018 close () {
124019 const tag = stack.pop();
124020 if (outer) buf += outer + (inner ? `>${inner}</${tag}>` : "/>");

Callers 1

setup.pyFile · 0.50

Calls 2

pushFunction · 0.70
attr3Function · 0.70

Tested by

no test coverage detected