Update qcms build
It's a follow-up of https://github.com/mozilla/pdf.js.qcms/pull/1.
This commit is contained in:
parent
3f1ecc1ba9
commit
09f0af5b83
4
external/qcms/qcms.js
vendored
4
external/qcms/qcms.js
vendored
@ -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)) {
|
||||||
|
|||||||
BIN
external/qcms/qcms_bg.wasm
vendored
BIN
external/qcms/qcms_bg.wasm
vendored
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user