diff options
author | stephan <stephan@noemail.net> | 2022-10-16 15:38:03 +0000 |
---|---|---|
committer | stephan <stephan@noemail.net> | 2022-10-16 15:38:03 +0000 |
commit | 956392694abaaa832ec3186f7b6af5043f71e623 (patch) | |
tree | 2ada9a4e82af9e423971afc30c4ff1557dac10ea /ext/wasm/api/pre-js.js | |
parent | 879164ed74846a4bdfcd513c200c70debf0b9409 (diff) | |
download | sqlite-956392694abaaa832ec3186f7b6af5043f71e623.tar.gz sqlite-956392694abaaa832ec3186f7b6af5043f71e623.zip |
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
Diffstat (limited to 'ext/wasm/api/pre-js.js')
-rw-r--r-- | ext/wasm/api/pre-js.js | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/ext/wasm/api/pre-js.js b/ext/wasm/api/pre-js.js index 502ecf348..b6630416d 100644 --- a/ext/wasm/api/pre-js.js +++ b/ext/wasm/api/pre-js.js @@ -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 */ |