diff options
author | stephan <stephan@noemail.net> | 2023-02-02 06:17:22 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2023-02-02 06:17:22 +0000 |
commit | 7667eedf953e42c7a8e6371a59357eeffe6630db (patch) | |
tree | c1657821147834308c97084098648dc4b6316d54 /ext/wasm/tester1.c-pp.js | |
parent | 71a93396727bb457ecb293a713d8f3206d0a9428 (diff) | |
download | sqlite-7667eedf953e42c7a8e6371a59357eeffe6630db.tar.gz sqlite-7667eedf953e42c7a8e6371a59357eeffe6630db.zip |
Remove automatic installation of JS-global S object for the sake of client libraries which embed this library, per [forum:9d4f722c6912799d|request in the forum].
FossilOrigin-Name: 9504f68af8360ea6d61574fd4b9811af34b721c12d9653eb50adcf0f12b129fc
Diffstat (limited to 'ext/wasm/tester1.c-pp.js')
-rw-r--r-- | ext/wasm/tester1.c-pp.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/wasm/tester1.c-pp.js b/ext/wasm/tester1.c-pp.js index 86ec87b73..2cc0d9ad2 100644 --- a/ext/wasm/tester1.c-pp.js +++ b/ext/wasm/tester1.c-pp.js @@ -3004,6 +3004,8 @@ self.sqlite3InitModule = sqlite3InitModule; }).then(function(sqlite3){ //console.log('sqlite3 =',sqlite3); log("Done initializing WASM/JS bits. Running tests..."); + console.warn("Installing sqlite3 bits as global S for local dev/test purposes."); + self.S = sqlite3; capi = sqlite3.capi; wasm = sqlite3.wasm; log("sqlite3 version:",capi.sqlite3_libversion(), |