mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
support ids, clean up code and move the api related stuff to transform.ts
This commit is contained in:
parent
da8e97ad14
commit
985318e960
11 changed files with 337 additions and 250 deletions
|
@ -7,7 +7,7 @@ import {
|
|||
import { serializeAsJSON } from "../../data/json";
|
||||
import { restore } from "../../data/restore";
|
||||
import { ImportedDataState } from "../../data/types";
|
||||
import { convertToExcalidrawElements } from "../../element/newElement";
|
||||
import { convertToExcalidrawElements } from "../../data/transform";
|
||||
import { isInvisiblySmallElement } from "../../element/sizeHelpers";
|
||||
import { isInitializedImageElement } from "../../element/typeChecks";
|
||||
import { ExcalidrawElement, FileId } from "../../element/types";
|
||||
|
|
|
@ -87,7 +87,7 @@ import { appJotaiStore } from "./app-jotai";
|
|||
|
||||
import "./index.scss";
|
||||
import { ResolutionType } from "../utility-types";
|
||||
import { convertToExcalidrawElements } from "../element/newElement";
|
||||
import { convertToExcalidrawElements } from "../data/transform";
|
||||
|
||||
polyfill();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue