mirror of
https://github.com/jgm/pandoc.git
synced 2026-08-26 02:06:32 +00:00
Wasm gui: catch errors loading pandoc
This commit is contained in:
+1
-1
@@ -33,7 +33,7 @@ function loadPandoc() {
|
||||
}
|
||||
|
||||
// Start loading immediately in background (fire and forget)
|
||||
loadPandoc();
|
||||
loadPandoc().catch(err => console.error("Failed to load pandoc:", err));
|
||||
|
||||
// Lazy-load typst library only when needed
|
||||
let typstLoaded = false;
|
||||
|
||||
Reference in New Issue
Block a user