message: Start router when document ready
diff: @@ -10,8 +10,6 @@ export type View = (model: Model) => string | Function;
  export type Action = (model: Model, ...p) => Model;
  export type Update = { [name: string]: Action };
  -new Router();
  -
  app.start = (element: HTMLElement, model: Model, view: View, update: Update, options:any={}) => {
  if (typeof options.global_event === 'undefined') options.global_event = true;
  const component = new Component(element, model, view, update, options);
  @@ -21,4 +19,5 @@ app.start = (element: HTMLElement, model: Model, view: View, update: Update, opt
  if (typeof window === 'object') {
  window['app'] = app;
  + document.addEventListener("DOMContentLoaded", () => new Router());
  }
  