nl_tokens: process the route event and trigger the onRoute method call if it exists
pl_tokens: <mask> ( 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 ) ; } }