Skip to content

Commit

Permalink
docs(router): fix typos (#14213)
Browse files Browse the repository at this point in the history
PR Close #14213
  • Loading branch information
not-for-me authored and mhevery committed Feb 9, 2017
1 parent 6921b3d commit 82923d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/@angular/router/src/router_preloader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ export class RouterPreloader {
private processRoutes(injector: Injector, routes: Routes): Observable<void> {
const res: Observable<any>[] = [];
for (const c of routes) {
// we already have the config loaded, just recurce
// we already have the config loaded, just recurse
if (c.loadChildren && !c.canLoad && (<any>c)._loadedConfig) {
const childConfig = (<any>c)._loadedConfig;
res.push(this.processRoutes(childConfig.injector, childConfig.routes));
Expand All @@ -122,4 +122,4 @@ export class RouterPreloader {
});
});
}
}
}

0 comments on commit 82923d8

Please sign in to comment.