From 4cf2fe2395037cb1d865ad73f5454ade617c78fa Mon Sep 17 00:00:00 2001 From: Jerome Wu Date: Wed, 29 Apr 2020 09:27:21 +0800 Subject: [PATCH] Fix worker script origin issue --- README.md | 2 +- src/browser/getModule.js | 39 ++++++++++++++++++++++----------------- tests/constants.js | 2 +- 3 files changed, 24 insertions(+), 19 deletions(-) diff --git a/README.md b/README.md index 6131937..8012fb8 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,7 @@ $ node --experimental-wasm-threads --experimental-wasm-bulk-memory transcode.js Or, using a script tag in the browser (only works in Chrome): ```html - +