开发:使用Wasm而不是asmJs
This commit is contained in:
parent
66f35d6c12
commit
fe80e33eae
@ -22890,7 +22890,7 @@ function InitClipperCpp() {
|
||||
return new Promise((res, rej) => {
|
||||
clipperLib.loadNativeClipperLibInstanceAsync(
|
||||
// let it autodetect which one to use, but also available WasmOnly and AsmJsOnly
|
||||
clipperLib.NativeClipperLibRequestedFormat.AsmJsOnly).then(c => {
|
||||
clipperLib.NativeClipperLibRequestedFormat.WasmOnly).then(c => {
|
||||
clipperCpp.lib = c;
|
||||
res();
|
||||
// console.log("载入成功!");//不再需要
|
||||
|
Loading…
Reference in New Issue
Block a user