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

Method constructor

static/katex/katex.mjs:12910–12925  ·  view source on GitHub ↗

* Both arguments are optional. The first argument is an object of * built-in mappings which never change. The second argument is an object * of initial (global-level) mappings, which will constantly change * according to any global/top-level `set`s done.

(builtins, globalMacros)

Source from the content-addressed store, hash-verified

12908 * according to any global/top-level `set`s done.
12909 */
12910 constructor(builtins, globalMacros) {
12911 if (builtins === void 0) {
12912 builtins = {};
12913 }
12914
12915 if (globalMacros === void 0) {
12916 globalMacros = {};
12917 }
12918
12919 this.current = void 0;
12920 this.builtins = void 0;
12921 this.undefStack = void 0;
12922 this.current = globalMacros;
12923 this.builtins = builtins;
12924 this.undefStack = [];
12925 }
12926 /**
12927 * Start a new nested group, affecting future local `set`s.
12928 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected