rm useless print statements
This commit is contained in:
parent
b6d11b64a9
commit
e7823f9135
1 changed files with 3 additions and 7 deletions
6
frontend/www/bootstrap.js
vendored
6
frontend/www/bootstrap.js
vendored
|
@ -2,18 +2,14 @@
|
||||||
// asynchronously. This `bootstrap.js` file does the single async import, so
|
// asynchronously. This `bootstrap.js` file does the single async import, so
|
||||||
// that no one else needs to worry about it again.
|
// that no one else needs to worry about it again.
|
||||||
// Import index.js that executes index.ts
|
// Import index.js that executes index.ts
|
||||||
var h = (a, b) => {}
|
var h = (_a, _b) => { }
|
||||||
|
|
||||||
export function handle(loc, e) {
|
export function handle(loc, e) {
|
||||||
console.log("handle");
|
|
||||||
h(loc, e);
|
h(loc, e);
|
||||||
}
|
}
|
||||||
|
|
||||||
import("./index.js")
|
import("./index.js")
|
||||||
.then(e => {
|
.then(e => {
|
||||||
console.log(e.handle);
|
|
||||||
h = e.handle;
|
h = e.handle;
|
||||||
})
|
})
|
||||||
.catch(e => console.error("Error importing `index.js`:", e));
|
.catch(e => console.error("Error importing `index.js`:", e));
|
||||||
|
|
||||||
window.setTimeout(() => handle("static/games/spiral2.json", "spiral2"), 3000);
|
|
Loading…
Reference in a new issue