8d0d409876
FossilOrigin-Name: 90480586f1b2ad82118e19536b095431b8457f294c0afaa9b4f883f184cc804c
31 lines
1.0 KiB
HTML
31 lines
1.0 KiB
HTML
<!doctype html>
|
|
<html lang="en-us">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon">
|
|
<link rel="stylesheet" href="common/emscripten.css"/>
|
|
<link rel="stylesheet" href="common/testing.css"/>
|
|
<title>sqlite3 tester #1: ES6 Module in UI thread</title>
|
|
<style>
|
|
body {
|
|
font-family: monospace;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<h1 id='color-target'>sqlite3 tester #1: ES6 Module in UI thread</h1>
|
|
<div class='input-wrapper'>
|
|
<input type='checkbox' id='cb-log-reverse'>
|
|
<label for='cb-log-reverse'>Reverse log order?</label>
|
|
</div>
|
|
<div id='test-output'></div>
|
|
<script type="module" defer>
|
|
import {default as sqlite3InitModule} from "./jswasm/sqlite3.mjs";
|
|
self.sqlite3InitModule = sqlite3InitModule;
|
|
console.log("Loaded sqlite3InitModule() via an ES6 module.");
|
|
</script>
|
|
<script src="tester1.js" defer></script>
|
|
</body>
|
|
</html>
|