mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 03:38:39 +00:00
refactor: separate defineMacro.js from macros.js (#3198)
Allows defineMacro to be called from other places, in particular removing cycles from the dependency graph.
This commit is contained in:
2
katex.js
2
katex.js
@@ -28,7 +28,7 @@ import type {AnyParseNode} from "./src/parseNode";
|
||||
import type {DomSpan} from "./src/domTree";
|
||||
|
||||
import {defineSymbol} from './src/symbols';
|
||||
import {defineMacro} from './src/macros';
|
||||
import defineMacro from './src/defineMacro';
|
||||
import {setFontMetrics} from './src/fontMetrics';
|
||||
|
||||
declare var __VERSION__: string;
|
||||
|
Reference in New Issue
Block a user