diff --git a/web-frontend/src/lib/common.js b/web-frontend/src/lib/common.js index 53de828..ebd46ea 100644 --- a/web-frontend/src/lib/common.js +++ b/web-frontend/src/lib/common.js @@ -1,9 +1,4 @@ -// import init from 'xpin-wasm'; -// import * as xpinWasm from 'xpin-wasm'; import * as xpinWasm from '$lib/pkg/xpin_wasm.js'; -// import * as init from '$lib/pkg/xpin_wasm_bg.js'; -// import init from '$lib/pkg/xpin_wasm_bg.wasm?init'; -// import * as xpinWasm from '$lib/pkg/xpin_wasm.js'; export const WasmStatus = { NotLoaded: -1, @@ -17,17 +12,6 @@ export async function getWasm() { wasmStatus = WasmStatus.Loaded; - // await init() - // .then(() => { - - // }) - // .catch((e) => { - // console.error('Error loading wasm module', e); - // wasmError = e; - // wasmStatus = WasmStatus.Errored; - // throw e; - // }); - return { status: wasmStatus, error: wasmError, diff --git a/web-frontend/src/routes/app/CoordinateInfo.svelte b/web-frontend/src/routes/app/CoordinateInfo.svelte index 6c47cf8..45d27c0 100644 --- a/web-frontend/src/routes/app/CoordinateInfo.svelte +++ b/web-frontend/src/routes/app/CoordinateInfo.svelte @@ -41,9 +41,9 @@ {/each} {#each formats as format} -