src/ui/router/ApplicationRouter.js
/**
     * start application routing, should be done after handlers are registered.
     */
start application routing, should be done after handlers are registered.
start application routing should be done after handlers are registered .
start() {
        if (this.started) {
            throw new Error('Router already started!');
        }
        this.started = true;
        let locationBar = new LocationBar();
        locationBar.onChange(p => this.handleLocationChange(p));
        locationBar.start({
            root: location.pathname
        });
    }
start ( ) { if ( this . started ) { throw new Error ( 'Router already started!' ) ; } this . started = true ; let locationBar = new LocationBar ( ) ; locationBar . onChange ( p => this . handleLocationChange ( p ) ) ; locationBar . start ( { root : location . pathname } ) ; }
start application routing, should be done after handlers are registered.
start application routing should be done after handlers are registered .