aboutsummaryrefslogtreecommitdiff
path: root/ext/wasm/demo-jsstorage.js
diff options
context:
space:
mode:
authorstephan <stephan@noemail.net>2022-10-29 07:54:10 +0000
committerstephan <stephan@noemail.net>2022-10-29 07:54:10 +0000
commit8948fbee29f8860ff6d116eaa66626ff11ab8064 (patch)
tree8b2a9b8faa122a7134e2b28485d9126f964763df /ext/wasm/demo-jsstorage.js
parent053bb22f35c5dd153a62158ed2cc6376b5979212 (diff)
downloadsqlite-8948fbee29f8860ff6d116eaa66626ff11ab8064.tar.gz
sqlite-8948fbee29f8860ff6d116eaa66626ff11ab8064.zip
Move the sqlite3.capi.wasm namespace to sqlite3.wasm. This causes a tiny bit of naming confusion with the sqlite3.wasm *file*, but seems to make more sense than having it as a sub-namespace of capi.
FossilOrigin-Name: 3f16eb18d6186ca972fca952ccac18649e7a905213f589e53c0c9333e695448d
Diffstat (limited to 'ext/wasm/demo-jsstorage.js')
-rw-r--r--ext/wasm/demo-jsstorage.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/wasm/demo-jsstorage.js b/ext/wasm/demo-jsstorage.js
index 0621cb2dc..cf820e403 100644
--- a/ext/wasm/demo-jsstorage.js
+++ b/ext/wasm/demo-jsstorage.js
@@ -44,7 +44,7 @@
const runTests = function(sqlite3){
const capi = sqlite3.capi,
oo = sqlite3.oo1,
- wasm = capi.wasm;
+ wasm = sqlite3.wasm;
log("Loaded module:",capi.sqlite3_libversion(), capi.sqlite3_sourceid());
T.assert( 0 !== capi.sqlite3_vfs_find(null) );
if(!capi.sqlite3_vfs_find('kvvfs')){