public/js/app.js
/**
 * The default aborted transition handler for new routers.
 */
The default aborted transition handler for new routers.
The default aborted transition handler for new routers .
function defaultAbortHandler(abortReason, location) {
  if (typeof location === 'string')
    throw new Error('Unhandled aborted transition! Reason: ' + abortReason);
  if (abortReason instanceof Cancellation) {
    return;
  } else if (abortReason instanceof Redirect) {
    location.replace(this.makePath(abortReason.to, abortReason.params, abortReason.query));
  } else {
    location.pop();
  }
}
function defaultAbortHandler ( abortReason , location ) { if ( typeof location === 'string' ) throw new Error ( 'Unhandled aborted transition! Reason: ' + abortReason ) ; if ( abortReason instanceof Cancellation ) { return ; } else if ( abortReason instanceof Redirect ) { location . replace ( this . makePath ( abortReason . to , abortReason . params , abortReason . query ) ) ; } else { location . pop ( ) ; } }
The default aborted transition handler for new routers.
The default aborted transition handler for new routers .