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

Function Namespace

static/katex/katex.js:13208–13223  ·  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

13206 * according to any global/top-level `set`s done.
13207 */
13208 function Namespace(builtins, globalMacros) {
13209 if (builtins === void 0) {
13210 builtins = {};
13211 }
13212
13213 if (globalMacros === void 0) {
13214 globalMacros = {};
13215 }
13216
13217 this.current = void 0;
13218 this.builtins = void 0;
13219 this.undefStack = void 0;
13220 this.current = globalMacros;
13221 this.builtins = builtins;
13222 this.undefStack = [];
13223 }
13224 /**
13225 * Start a new nested group, affecting future local `set`s.
13226 */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected