From a343a8e1c2673ea19ae9a98ebd0f04329af5f718 Mon Sep 17 00:00:00 2001 From: vsavkin Date: Mon, 12 Sep 2016 09:47:44 -0700 Subject: [PATCH] docs(router): fix typos --- modules/@angular/router/src/directives/router_link.ts | 2 +- modules/@angular/router/src/directives/router_link_active.ts | 2 +- modules/@angular/router/src/router_module.ts | 2 +- modules/@angular/router/src/url_tree.ts | 2 +- modules/@angular/router/testing/router_testing_module.ts | 3 ++- 5 files changed, 6 insertions(+), 5 deletions(-) diff --git a/modules/@angular/router/src/directives/router_link.ts b/modules/@angular/router/src/directives/router_link.ts index 9eb8f489be..b21718d8ed 100644 --- a/modules/@angular/router/src/directives/router_link.ts +++ b/modules/@angular/router/src/directives/router_link.ts @@ -34,7 +34,7 @@ import {UrlTree} from '../url_tree'; * * @description * - * The RouterLink directives lets you link to specific parts of your app. + * The RouterLink directives let you link to specific parts of your app. * * Whe the link is static, you can use the directive as follows: * diff --git a/modules/@angular/router/src/directives/router_link_active.ts b/modules/@angular/router/src/directives/router_link_active.ts index 3ca2bf69f0..5eb4c1198a 100644 --- a/modules/@angular/router/src/directives/router_link_active.ts +++ b/modules/@angular/router/src/directives/router_link_active.ts @@ -16,7 +16,7 @@ import {RouterLink, RouterLinkWithHref} from './router_link'; /** - * @whatItDoes Lets you add a CSS class to an element when the link's route. + * @whatItDoes Lets you add a CSS class to an element when the link's route becomes active. * * @howToUse * diff --git a/modules/@angular/router/src/router_module.ts b/modules/@angular/router/src/router_module.ts index 526bff56aa..f7c98fc2bd 100644 --- a/modules/@angular/router/src/router_module.ts +++ b/modules/@angular/router/src/router_module.ts @@ -29,7 +29,7 @@ import {flatten} from './utils/collection'; const ROUTER_DIRECTIVES = [RouterOutlet, RouterLink, RouterLinkWithHref, RouterLinkActive]; /** - * @whatItDoes Is used in DI to configure router. + * @whatItDoes Is used in DI to configure the router. * @stable */ export const ROUTER_CONFIGURATION = new OpaqueToken('ROUTER_CONFIGURATION'); diff --git a/modules/@angular/router/src/url_tree.ts b/modules/@angular/router/src/url_tree.ts index 78eb7a27b1..b158116504 100644 --- a/modules/@angular/router/src/url_tree.ts +++ b/modules/@angular/router/src/url_tree.ts @@ -278,7 +278,7 @@ export abstract class UrlSerializer { * /inbox/33;open=true/messages/44 * ``` * - * DefaultUrlSerializer uses parenthesis to serialize secondary segments (e.g., popup:compose), the + * DefaultUrlSerializer uses parentheses to serialize secondary segments (e.g., popup:compose), the * colon syntax to specify the outlet, and the ';parameter=value' syntax (e.g., open=true) to * specify route specific parameters. * diff --git a/modules/@angular/router/testing/router_testing_module.ts b/modules/@angular/router/testing/router_testing_module.ts index b799ca0937..ab620d7c29 100644 --- a/modules/@angular/router/testing/router_testing_module.ts +++ b/modules/@angular/router/testing/router_testing_module.ts @@ -92,7 +92,8 @@ export function setupTestingRouter( * @description * * The modules sets up the router to be used for testing. - * It provides spy implementations of Location, LocationStrategy, and NgModuleFactoryLoader. + * It provides spy implementations of {@link Location}, {@link LocationStrategy}, and {@link + * NgModuleFactoryLoader}. * * @stable */