Skip to content
This repository has been archived by the owner on Dec 30, 2024. It is now read-only.

Commit

Permalink
local excalidraw assets
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinKavik committed Nov 8, 2024
1 parent 356a59f commit f05c489
Show file tree
Hide file tree
Showing 123 changed files with 12,659 additions and 1 deletion.
4 changes: 3 additions & 1 deletion backend/globals.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// -- Excalidraw settings --
// @TODO replace with "true" once Preact is integrated to ExcalidrawCanvas
// @TODO replace with "true" once Preact is integrated into ExcalidrawCanvas
var process = { env: { IS_PREACT: "false" } };
// @TODO probably remove or update once Preact is integrated into ExcalidrawCanvas
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = { isDisabled: true };
window.EXCALIDRAW_ASSET_PATH = "/_api/public/excalidraw/";
// -- / --
10 changes: 10 additions & 0 deletions frontend/typescript/excalidraw_canvas/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,13 @@ Created with commands:
- `npm i -E roughjs @excalidraw/laser-pointer jotai browser-fs-access`
- `npm i -D esbuild typescript`
- `locales/en.json` downloaded from `https://raw.githubusercontent.com/excalidraw/excalidraw/refs/tags/v0.17.6/src/locales/en.json`
- `excalidraw-assets-dev` and `excalidraw-assets` from `FastWave2.0\frontend\typescript\excalidraw_canvas\node_modules\@excalidraw\excalidraw\dist` copied into `FastWave2.0\public\excalidraw`
- Lines added to `FastWave2.0\backend\globals.js`:
```js
// -- Excalidraw settings --
// @TODO replace with "true" once Preact is integrated into ExcalidrawCanvas
var process = { env: { IS_PREACT: "false" } };
// @TODO probably remove or update once Preact is integrated into ExcalidrawCanvas
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = { isDisabled: true };
window.EXCALIDRAW_ASSET_PATH = "/_api/public/excalidraw/";
```
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

Large diffs are not rendered by default.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading

0 comments on commit f05c489

Please sign in to comment.