mirror of
https://github.com/HeyPuter/puter
synced 2024-11-14 22:06:00 +00:00
Don't bind manager to window for now
This commit is contained in:
parent
fa841582a9
commit
2ebda29f02
@ -10,8 +10,8 @@
|
|||||||
import InstanceManager from "./js/InstanceManager.mjs"
|
import InstanceManager from "./js/InstanceManager.mjs"
|
||||||
|
|
||||||
document.addEventListener("DOMContentLoaded", () => {
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
window.manager = new InstanceManager({spawnRoot: document.body, term: true});
|
const manager = new InstanceManager({spawnRoot: document.body, term: true});
|
||||||
window.manager.createInstance({spawnRoot: document.body, term: true})
|
manager.createInstance({spawnRoot: document.body, term: true});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user