diff options
author | stephan <stephan@noemail.net> | 2022-08-16 17:29:59 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-08-16 17:29:59 +0000 |
commit | 6e901b07a3611d6b865e390f117aa4c116d47192 (patch) | |
tree | f8c44190be8ea98159cd939f8a5b0e7e657a7420 /ext/wasm | |
parent | e0c582850eedf80d6c03f2cfa1b82b998825464a (diff) | |
download | sqlite-6e901b07a3611d6b865e390f117aa4c116d47192.tar.gz sqlite-6e901b07a3611d6b865e390f117aa4c116d47192.zip |
wasm: minor cleanups in the OO API #1 demo.
FossilOrigin-Name: b9cdcc06a8f70694d10ee5b1a0fd9f08f4c705ce576e5103bbafb36fc9cc2122
Diffstat (limited to 'ext/wasm')
-rw-r--r-- | ext/wasm/demo-oo1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/wasm/demo-oo1.js b/ext/wasm/demo-oo1.js index 2792b5092..bb5e9fd26 100644 --- a/ext/wasm/demo-oo1.js +++ b/ext/wasm/demo-oo1.js @@ -15,14 +15,13 @@ */ 'use strict'; (function(){ - const T = self.SqliteTestUtil; const toss = function(...args){throw new Error(args.join(' '))}; const debug = console.debug.bind(console), log = console.log.bind(console), warn = console.warn.bind(console), error = console.error.bind(console); - const demo1 = function(sqlite3,EmModule){ + const demo1 = function(sqlite3){ const capi = sqlite3.capi, oo = sqlite3.oo1, wasm = capi.wasm; @@ -206,6 +205,7 @@ oo = sqlite3.oo1, wasm = capi.wasm; log("Loaded module:",capi.sqlite3_libversion(), capi.sqlite3_sourceid()); + log("sqlite3 namespace:",sqlite3); try { [ demo1 ].forEach((f)=>f(sqlite3, Module)) }catch(e){ |