diff options
author | stephan <stephan@noemail.net> | 2022-11-17 15:21:49 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-17 15:21:49 +0000 |
commit | c7c15d1b83574f7ceec81bd76e76521f03efb1c8 (patch) | |
tree | 6c411a9ba5a9585770e8fe29d2adcf42c65fa18b /ext/wasm/api/extern-post-js.js | |
parent | b0ab21dee40144d8aec92df4a0c98eb069badeb3 (diff) | |
parent | 3c1572ddb43ba7f4cbae57ee4b019a2cd45ee015 (diff) | |
download | sqlite-c7c15d1b83574f7ceec81bd76e76521f03efb1c8.tar.gz sqlite-c7c15d1b83574f7ceec81bd76e76521f03efb1c8.zip |
Merge trunk into js-cpp branch.
FossilOrigin-Name: e047b33d1fb7d6a32e967f03f9952249cd2da4d21dc301fe92bd7baa0da5d6a9
Diffstat (limited to 'ext/wasm/api/extern-post-js.js')
-rw-r--r-- | ext/wasm/api/extern-post-js.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/wasm/api/extern-post-js.js b/ext/wasm/api/extern-post-js.js index 84b99b53a..d933a3626 100644 --- a/ext/wasm/api/extern-post-js.js +++ b/ext/wasm/api/extern-post-js.js @@ -15,7 +15,10 @@ impls which Emscripten installs at some point in the file above this. */ - const originalInit = self.sqlite3InitModule; + const originalInit = + /*Maintenance reminde: DO NOT use `self.` here. It's correct + for non-ES6 Module cases but wrong for ES6 modules because those + resolve this symbol differently! */ sqlite3InitModule; if(!originalInit){ throw new Error("Expecting self.sqlite3InitModule to be defined by the Emscripten build."); } |