Skip to content

Commit

Permalink
feat(UIRouter): Add trace global to the UIRouter object
Browse files Browse the repository at this point in the history
  • Loading branch information
christopherthielen committed Jan 10, 2017
1 parent bd626fc commit 48c5af6
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/router.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import { values, removeFrom } from "./common/common";
import { isFunction } from "./common/predicates";
import { UrlService } from "./url/urlService";
import { LocationServices, LocationConfig } from "./common/coreservices";
import { Trace, trace } from "./common/trace";

/** @hidden */
let _routerInstance = 0;
Expand All @@ -37,6 +38,9 @@ export class UIRouter {
/** @hidden */
$id: number = _routerInstance++;

/** Provides trace information to the console */
trace: Trace = trace;

/** Provides services related to ui-view synchronization */
viewService = new ViewService();

Expand Down

0 comments on commit 48c5af6

Please sign in to comment.