How to use the @uirouter/core.RejectType.ABORTED function in @uirouter/core

To help you get started, we’ve selected a few @uirouter/core examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github spinnaker / deck / app / scripts / modules / core / pageTitle / pageTitle.service.ts View on Github external
public handleRoutingError(rejection: Rejection): void {
    this.routeCount--;
    this.setRoutingFlag();
    const cancelled = rejection.type === RejectType.ABORTED;
    document.title = cancelled ? this.previousPageTitle : 'Spinnaker: Error';
  }
github spinnaker / deck / app / scripts / modules / core / src / pageTitle / pageTitle.service.ts View on Github external
public handleRoutingError(rejection: Rejection): void {
    this.routeCount--;
    this.setRoutingFlag();
    const cancelled = rejection.type === RejectType.ABORTED;
    document.title = cancelled ? this.previousPageTitle : 'Spinnaker: Error';
  }