matrix.to/src/main.js

10 lines
304 B
JavaScript
Raw Normal View History

2020-11-27 11:05:20 -05:00
import {xhrRequest} from "./utils/xhr.js";
2020-11-27 15:28:54 -05:00
import {RootViewModel} from "./RootViewModel.js";
2020-11-27 11:05:20 -05:00
2020-11-27 15:28:54 -05:00
export async function main(container) {
const vm = new RootViewModel(xhrRequest, location.hash);
vm.load();
window.__rootvm = vm;
// const view = new RootView(vm);
// container.appendChild(view.mount());
2020-11-27 11:05:20 -05:00
}