refactor: Move MathJax into src/element/subtypes for the

`excalidraw-app` separation, maintaining lazy-loading of MathJax.
This commit is contained in:
Daniel J. Geiger 2023-09-22 14:25:15 -05:00
parent 4d6d6cf129
commit 8eb3191b3f
23 changed files with 32 additions and 41 deletions

View file

@ -7,7 +7,7 @@ import { getUpdatedTimestamp } from "../utils";
import { Mutable } from "../utility-types";
import { ShapeCache } from "../scene/ShapeCache";
import { maybeGetSubtypeProps } from "./newElement";
import { getSubtypeMethods } from "../subtypes";
import { getSubtypeMethods } from "./subtypes";
type ElementUpdate<TElement extends ExcalidrawElement> = Omit<
Partial<TElement>,