You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: examples/backend/retrieval/add-example.ts
+2-3
Original file line number
Diff line number
Diff line change
@@ -28,15 +28,14 @@ export async function addExample(request: CreateExampleRequest): Promise<string>
28
28
consttitle=request.title.trim();
29
29
constid=createExampleId(title,dirs);
30
30
constindexHtml=`<canvas id='canvas'></canvas>`;
31
-
constindexJs=`import InfiniteCanvas from './example-infinite-canvas.js';\nimport './index.css';\n\nconst infCanvas = new InfiniteCanvas(document.getElementById('canvas'))`;
31
+
constindexJs=`import InfiniteCanvas from 'ef-infinite-canvas';\nimport './index.css';\n\nconst infCanvas = new InfiniteCanvas(document.getElementById('canvas'))`;
0 commit comments