1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Add a top-level license and build-time version info header to generated sqlite3*.js. Correct a broken link in ext/wasm/index.html.

FossilOrigin-Name: 0f1a06e8e39a1fbc74f1aff9cc59787282dfbf847d6c5c7edb3f7d410db0e4b7
This commit is contained in:
stephan
2022-10-16 15:38:03 +00:00
parent 879164ed74
commit 956392694a
10 changed files with 88 additions and 35 deletions

View File

@ -1,3 +1,9 @@
/**
BEGIN FILE: api/pre-js.js
This file is intended to be prepended to the sqlite3.js build using
Emscripten's --pre-js=THIS_FILE flag (or equivalent).
*/
Module['locateFile'] = function(path, prefix) {
return prefix + path;
};
@ -39,3 +45,4 @@ Module[xInstantiateWasm] = function callee(imports,onSuccess){
scripts.
*/
Module[xInstantiateWasm].uri = 'sqlite3.wasm';
/* END FILE: api/pre-js.js */