Skip to content

Commit 7aaf6d9

Browse files
[dev] example still uses cdn by default
1 parent 6e23f11 commit 7aaf6d9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

example/index.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,10 @@
2929
worker.postMessage({
3030
type: "convert",
3131
data: JSON.parse(dataArea.value),
32-
// optional, use CDN by default
33-
// path is relative to webworker js file
34-
wasmPath: "wasm/xlsx_import_bg.wasm"
32+
// path relative to js file of worker
33+
// wasmPath: "wasm/xlsx_import_bg.wasm"
34+
// if not provided, will load wasm file from CDN
35+
// https://cdn.dhtmlx.com/libs/json2excel/1.0/lib.wasm
3536
});
3637
}
3738

0 commit comments

Comments
 (0)