Don't bind manager to window for now

This commit is contained in:
lsileoni 2024-04-11 21:38:36 +03:00
parent fa841582a9
commit 2ebda29f02

View File

@ -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>