docs(router): fix typos (#14213)

PR Close #14213
This commit is contained in:
NFM 2017-02-01 07:00:20 +09:00 committed by Miško Hevery
parent e58d683931
commit d0366542fb
1 changed files with 2 additions and 2 deletions

View File

@ -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));
@ -122,4 +122,4 @@ export class RouterPreloader {
});
});
}
}
}