Update qcms build

It's a follow-up of https://github.com/mozilla/pdf.js.qcms/pull/1.
This commit is contained in:
Calixte Denizet 2025-05-13 16:44:12 +02:00
parent 3f1ecc1ba9
commit 09f0af5b83
2 changed files with 1 additions and 3 deletions

View File

@ -235,9 +235,7 @@ async function __wbg_init(module_or_path) {
} }
} }
if (typeof module_or_path === 'undefined') {
module_or_path = new URL('qcms_bg.wasm', import.meta.url);
}
const imports = __wbg_get_imports(); const imports = __wbg_get_imports();
if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) { if (typeof module_or_path === 'string' || (typeof Request === 'function' && module_or_path instanceof Request) || (typeof URL === 'function' && module_or_path instanceof URL)) {

Binary file not shown.