Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2464ead

Browse files
committed
Merge branch 'master' into gh-pages
2 parents fff6fd9 + 681239b commit 2464ead

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

examples/persistent.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,14 +3,15 @@
33
<head>
44
<meta charset="utf8">
55
<title>Persistent sqlite</title>
6-
<script src="/dist/sql-wasm.js"></script>
6+
<script src="../dist/sql-wasm.js"></script>
77
</head>
88
<body>
99
<p>You have seen this page <span id="views">0</span> times.</p>
1010
<div>
1111
You have been here on the following dates: <ol id="dates"></ol>
1212
</div>
1313
<script>
14+
var baseUrl = '../dist/';
1415

1516
function toBinArray (str) {
1617
var l = str.length,

examples/requireJS.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<script src='http://requirejs.org/docs/release/2.3.6/minified/require.js'></script>
44

55
<script>
6-
var baseUrl = '/dist'
6+
var baseUrl = '../dist'
77
require.config({
88
baseUrl: baseUrl
99
});

examples/simple.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
<meta charset="utf8" />
22
<html>
3-
<script src='/dist/sql-wasm-debug.js'></script>
3+
<script src='../../dist/sql-wasm-debug.js'></script>
44
<script>
55
config = {
66
locateFile: (filename, prefix) => {
77
console.log(`prefix is : ${prefix}`);
8-
return `/dist/${filename}`;
8+
return `../../dist/${filename}`;
99
}
1010
}
1111
// The `initSqlJs` function is globally provided by all of the main dist files if loaded in the browser.

0 commit comments

Comments
 (0)