From d0366542fbc1538ef06efe1cb8a9d27d46c275ab Mon Sep 17 00:00:00 2001 From: NFM Date: Wed, 1 Feb 2017 07:00:20 +0900 Subject: [PATCH] docs(router): fix typos (#14213) PR Close #14213 --- modules/@angular/router/src/router_preloader.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/@angular/router/src/router_preloader.ts b/modules/@angular/router/src/router_preloader.ts index 39205e79b1..753f54c42e 100644 --- a/modules/@angular/router/src/router_preloader.ts +++ b/modules/@angular/router/src/router_preloader.ts @@ -95,7 +95,7 @@ export class RouterPreloader { private processRoutes(injector: Injector, routes: Routes): Observable { const res: Observable[] = []; 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 && (c)._loadedConfig) { const childConfig = (c)._loadedConfig; res.push(this.processRoutes(childConfig.injector, childConfig.routes)); @@ -122,4 +122,4 @@ export class RouterPreloader { }); }); } -} \ No newline at end of file +}