diff options
author | stephan <stephan@noemail.net> | 2023-01-27 03:18:16 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-01-27 03:18:16 +0000 |
commit | a0013fbe879fb59843c69610af56b5b9141c9614 (patch) | |
tree | 745f6a4773549b0e3956276f9b53ec560eaa7666 /ext/wasm/api/pre-js.c-pp.js | |
parent | 67bfea4ea6fb3bba1425079301727d350132cde0 (diff) | |
download | sqlite-a0013fbe879fb59843c69610af56b5b9141c9614.tar.gz sqlite-a0013fbe879fb59843c69610af56b5b9141c9614.zip |
More work on creating a separate sqlite3.js build which is hopefully friendly to JS bundlers.
FossilOrigin-Name: b7b896fb448a7f46eb88eadadb1359255aec637a384cabcdd526276a02f4f0b4
Diffstat (limited to 'ext/wasm/api/pre-js.c-pp.js')
-rw-r--r-- | ext/wasm/api/pre-js.c-pp.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/wasm/api/pre-js.c-pp.js b/ext/wasm/api/pre-js.c-pp.js index 772601f42..c27c2fe0d 100644 --- a/ext/wasm/api/pre-js.c-pp.js +++ b/ext/wasm/api/pre-js.c-pp.js @@ -6,7 +6,10 @@ */ // See notes in extern-post-js.js -const sqlite3InitModuleState = self.sqlite3InitModuleState || Object.create(null); +const sqlite3InitModuleState = self.sqlite3InitModuleState + || Object.assign(Object.create(null),{ + debugModule: ()=>{} + }); delete self.sqlite3InitModuleState; sqlite3InitModuleState.debugModule('self.location =',self.location); |