named options

This commit is contained in:
Bruno Windels
2020-11-30 12:49:31 +01:00
parent 91b328f540
commit bb4450e562
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -3,7 +3,7 @@ import {RootViewModel} from "./RootViewModel.js";
import {RootView} from "./RootView.js";
export async function main(container) {
const vm = new RootViewModel(xhrRequest);
const vm = new RootViewModel({request: xhrRequest});
vm.updateHash(location.hash);
window.__rootvm = vm;
const view = new RootView(vm);