This commit is contained in:
vcoppe
2026-09-23 19:53:39 +02:00
parent a486016d96
commit 497ac120ec
16 changed files with 604 additions and 284 deletions
+10
View File
@@ -0,0 +1,10 @@
class Engine {
_engine: Writable<any>;
constructor() {
this._engine = null;
import('gpx-rs').then((wasm) => {
this._engine = new wasm.Controller();
});
}
}
@@ -37,14 +37,6 @@
);
onMount(async () => {
if (browser) {
const wasm = await import('gpx-rs');
const controller = new wasm.Controller();
console.log(controller);
controller.create_file();
}
settings.connectToDatabase(db);
fileStateCollection.connectToDatabase(db).then(() => {
let files: string[] = JSON.parse(page.url.searchParams.get('files') || '[]');