expose root view model as global variable for console inspecting

This commit is contained in:
Bruno Windels 2020-04-22 20:53:38 +02:00
parent e0799181d9
commit e080bf28a7

View file

@ -40,6 +40,7 @@ export default async function main(container) {
storageFactory,
clock,
});
window.__brawlViewModel = vm;
await vm.load();
const view = new BrawlView(vm);
container.appendChild(view.mount());