js/core/History.js
function (fragment, callback) {

            var routeExecutionStack = [];

            for (var i = 0; i < this.$routers.length; i++) {
                routeExecutionStack = routeExecutionStack.concat(this.$routers[i].generateRoutingStack(fragment));
            }

            if (routeExecutionStack.length === 0) {
                this.routeNotFound(fragment, callback);
            } else {
                flow()
                    .seqEach(routeExecutionStack, function(routingFunction, cb){
                        routingFunction(cb);
                    })
                    .exec(callback);
            }
        }
function (fragment, callback) {

            var routeExecutionStack = [];

            for (var i = 0; i < this.$routers.length; i++) {
                routeExecutionStack = routeExecutionStack.concat(this.$routers[i].generateRoutingStack(fragment));
            }

            if (routeExecutionStack.length === 0) {
                this.routeNotFound(fragment, callback);
            } else {
                flow()
                    .seqEach(routeExecutionStack, function(routingFunction, cb){
                        routingFunction(cb);
                    })
                    .exec(callback);
            }
        }
function ( fragment , callback ) { var routeExecutionStack = [ ] ; for ( var i = 0 ; i < this . $routers . length ; i ++ ) { routeExecutionStack = routeExecutionStack . concat ( this . $routers [ i ] . generateRoutingStack ( fragment ) ) ; } if ( routeExecutionStack . length === 0 ) { this . routeNotFound ( fragment , callback ) ; } else { flow ( ) . seqEach ( routeExecutionStack , function ( routingFunction , cb ) { routingFunction ( cb ) ; } ) . exec ( callback ) ; } }
Triggers a route

@param {String} fragment - the fragment which should be triggered
@param {Function} callback - gets called after the route execution stack is done
Triggers a route