function(routeName, routeArgs) {
      // make sure an onRoute before trying to call it
      if (_.isFunction(this.onRoute)) {
        // find the path that matches the current route
        var routePath = _.invert(this.getOption('appRoutes'))[routeName];
        this.onRoute(routeName, routePath, routeArgs);
      }
    }
function(routeName, routeArgs) {
      
      if (_.isFunction(this.onRoute)) {
        
        var routePath = _.invert(this.getOption('appRoutes'))[routeName];
        this.onRoute(routeName, routePath, routeArgs);
      }
    }
function ( routeName , routeArgs ) { // make sure an onRoute before trying to call it if ( _ . isFunction ( this . onRoute ) ) { // find the path that matches the current route var routePath = _ . invert ( this . getOption ( 'appRoutes' ) ) [ routeName ] ; this . onRoute ( routeName , routePath , routeArgs ) ; } }
process the route event and trigger the onRoute method call, if it exists
process the route event and trigger the onRoute method call if it exists