mirror of
https://github.com/gpxstudio/gpx.studio.git
synced 2026-09-24 08:27:37 +00:00
progress
This commit is contained in:
@@ -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') || '[]');
|
||||
|
||||
Reference in New Issue
Block a user