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

Method constructor

static/katex/katex.mjs:6605–6612  ·  view source on GitHub ↗
(type, children)

Source from the content-addressed store, hash-verified

6603
6604class MathNode {
6605 constructor(type, children) {
6606 this.type = void 0;
6607 this.attributes = void 0;
6608 this.children = void 0;
6609 this.type = type;
6610 this.attributes = {};
6611 this.children = children || [];
6612 }
6613 /**
6614 * Sets an attribute on a MathML node. MathML depends on attributes to convey a
6615 * semantic content, so this is used heavily.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected