MCPcopy Index your code
hub / github.com/TruthHun/BookStack / toNode

Method toNode

static/katex/katex.mjs:1343–1354  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1341 }
1342
1343 toNode() {
1344 const svgNS = "http://www.w3.org/2000/svg";
1345 const node = document.createElementNS(svgNS, "path");
1346
1347 if (this.alternate) {
1348 node.setAttribute("d", this.alternate);
1349 } else {
1350 node.setAttribute("d", svgGeometry.path[this.pathName]);
1351 }
1352
1353 return node;
1354 }
1355
1356 toMarkup() {
1357 if (this.alternate) {

Callers

nothing calls this directly

Calls 1

setAttributeMethod · 0.45

Tested by

no test coverage detected