Fix everything up so it actually runs lol
This commit is contained in:
@@ -38,30 +38,6 @@
|
||||
<canvas style="display:none" class="emscripten" id="canvas" oncontextmenu="event.preventDefault()"></canvas>
|
||||
<code id="status"></code>
|
||||
|
||||
<script>
|
||||
{
|
||||
// const { indexedDb } = window
|
||||
|
||||
// window.indexedDB = new Proxy(indexedDb, {
|
||||
// get(target, prop) {
|
||||
// if(prop == 'open') {
|
||||
// return function(...args) {
|
||||
// if(args[0] == 'UPLINK') {
|
||||
// console.log('Preventing IDB cache')
|
||||
// return {}
|
||||
// } else {
|
||||
// return indexedDb.open.call(this, ...args)
|
||||
// }
|
||||
// }
|
||||
// } else {
|
||||
// return indexedDb[prop]
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
|
||||
// indexedDB.open('UPLINK', 1)
|
||||
}
|
||||
</script>
|
||||
<script type='text/javascript' lsrc='../init.js'></script>
|
||||
<script>
|
||||
// Causes the app to freeze. Maybe make async?
|
||||
@@ -86,6 +62,5 @@
|
||||
document.body.appendChild(script);
|
||||
}
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user