diff options
author | stephan <stephan@noemail.net> | 2022-11-23 15:52:52 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-11-23 15:52:52 +0000 |
commit | 91a81316b9b184126b3546b332b36749209d34bf (patch) | |
tree | 717c911e29e2b4f5f9139323c5ed7a32bdaeb5f8 /ext/wasm/api/extern-post-js.js | |
parent | 3eaaec945c4cc3b35e9bd3c0f9a133c7f94cae1f (diff) | |
download | sqlite-91a81316b9b184126b3546b332b36749209d34bf.tar.gz sqlite-91a81316b9b184126b3546b332b36749209d34bf.zip |
Remove a bit of over-cleverness which breaks loading of sqlite3.js in some main-thread cases.
FossilOrigin-Name: 220cc4c6399b772b4ece03305a41b437ef0654d586a8a1c3dc5e7606fd36d655
Diffstat (limited to 'ext/wasm/api/extern-post-js.js')
-rw-r--r-- | ext/wasm/api/extern-post-js.js | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/ext/wasm/api/extern-post-js.js b/ext/wasm/api/extern-post-js.js index b32783781..cace6ed51 100644 --- a/ext/wasm/api/extern-post-js.js +++ b/ext/wasm/api/extern-post-js.js @@ -59,9 +59,6 @@ const toExportForES6 = li.pop(); initModuleState.sqlite3Dir = li.join('/') + '/'; } - if(initModuleState.sqlite3Dir){ - initModuleState.sqlite3Dir = initModuleState.sqlite3Dir.replace(/[/]{2,}/g,'/'); - } self.sqlite3InitModule = (...args)=>{ //console.warn("Using replaced sqlite3InitModule()",self.location); |