]> git.ipfire.org Git - thirdparty/sqlite.git/commit
Rework the Emscripten-emitted module loader/init function such that it passes on...
authorstephan <stephan@noemail.net>
Thu, 29 Sep 2022 13:17:50 +0000 (13:17 +0000)
committerstephan <stephan@noemail.net>
Thu, 29 Sep 2022 13:17:50 +0000 (13:17 +0000)
commitb94a98607a3bd4dd55f4d5ce16f171ba066bafb2
tree097b3fae84f287075120e7685458c4d1bb98af60
parent4b884bb4c77cb4b1e5059395212160f4ee48cc53
Rework the Emscripten-emitted module loader/init function such that it passes on the sqlite3 module, instead of the Emscripten module, to the first then() of sqlite3InitModule()'s returned Promise. This eliminates any need to mention the Emscripten module object in client-side code unless they want to configure it in advance for loading-status reports.

FossilOrigin-Name: 0dbaa0e2b5abf5c23e2039ec90a3055ebb3c063aaf4e556c42546defe6fbb86d
17 files changed:
ext/wasm/GNUmakefile
ext/wasm/api/extern-post-js.js [new file with mode: 0644]
ext/wasm/api/sqlite3-api-prologue.js
ext/wasm/batch-runner.js
ext/wasm/common/SqliteTestUtil.js
ext/wasm/demo-123.js
ext/wasm/demo-kvvfs1.js
ext/wasm/scratchpad-wasmfs-main.js
ext/wasm/speedtest1-wasmfs.html
ext/wasm/speedtest1-worker.js
ext/wasm/speedtest1.html
ext/wasm/sqlite3-worker1.js
ext/wasm/test-opfs-vfs.js
ext/wasm/testing1.js
ext/wasm/wasmfs.make
manifest
manifest.uuid