mirror of
https://github.com/leporello-js/leporello-js
synced 2026-01-13 13:04:30 -08:00
load html pages from service worker
This commit is contained in:
13
index.html
13
index.html
@@ -382,19 +382,6 @@
|
||||
|
||||
if(new URLSearchParams(window.location.search).get('leporello') == null) {
|
||||
await import('./src/launch.js');
|
||||
// TODO remove?
|
||||
/*
|
||||
const {init} = await import('./src/index.js');
|
||||
(
|
||||
document.readyState == 'complete'
|
||||
? Promise.resolve()
|
||||
: new Promise(resolve =>
|
||||
window.addEventListener('load', resolve)
|
||||
)
|
||||
).then(() => {
|
||||
init(document.getElementById('app'))
|
||||
})
|
||||
*/
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user