MCPcopy Create free account
hub / github.com/TruthHun/BookStack / MathNode

Function MathNode

static/katex/katex.js:6655–6662  ·  view source on GitHub ↗
(type, children)

Source from the content-addressed store, hash-verified

6653/*#__PURE__*/
6654function () {
6655 function MathNode(type, children) {
6656 this.type = void 0;
6657 this.attributes = void 0;
6658 this.children = void 0;
6659 this.type = type;
6660 this.attributes = {};
6661 this.children = children || [];
6662 }
6663 /**
6664 * Sets an attribute on a MathML node. MathML depends on attributes to convey a
6665 * semantic content, so this is used heavily.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected