1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-27 20:41:58 +03:00

wasm: accommodate moving generated sqlite3.js in the previous checkin.

FossilOrigin-Name: 41762f9518bb51b8b23ae6507628d6d3256044e1f2aca6e7251dc57722062c42
This commit is contained in:
stephan
2022-08-16 16:11:20 +00:00
parent ab7de45084
commit 8ac2d8510e
5 changed files with 13 additions and 14 deletions

View File

@ -11,7 +11,7 @@
***********************************************************************
A basic test script for sqlite3-api.js. This file must be run in
main JS thread and sqlite3.js must have been loaded before it.
main JS thread. It will load sqlite3.js in a worker thread.
*/
'use strict';
(function(){
@ -19,8 +19,7 @@
const log = console.log.bind(console),
warn = console.warn.bind(console),
error = console.error.bind(console);
const W = new Worker("api/scratchpad-opfs-worker.js");
const W = new Worker("scratchpad-opfs-worker2.js");
self.onmessage = function(ev){
ev = ev.data;
const d = ev.data;