From 662ff476270c39be90cd0cd7d8a8120fa397f89b Mon Sep 17 00:00:00 2001 From: mgechev Date: Tue, 22 Sep 2015 12:11:25 +0300 Subject: [PATCH] docs: fix typos Closes #4308 --- modules/angular2/src/core/compiler/view_container_ref.ts | 2 +- modules/angular2/src/core/debug/debug_element.ts | 2 +- modules/angular2/src/core/metadata/di.ts | 2 +- modules/angular2/src/core/pipes/date_pipe.ts | 2 +- modules/angular2/src/core/pipes/number_pipe.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/angular2/src/core/compiler/view_container_ref.ts b/modules/angular2/src/core/compiler/view_container_ref.ts index 7d4c31b20e..ebd7f2501a 100644 --- a/modules/angular2/src/core/compiler/view_container_ref.ts +++ b/modules/angular2/src/core/compiler/view_container_ref.ts @@ -107,7 +107,7 @@ export class ViewContainerRef { /** * The method can be used together with insert to implement a view move, i.e. - * moving the dom nodes while the directives in the view stay intact. + * moving the DOM nodes while the directives in the view stay intact. */ detach(atIndex: number = -1): ViewRef { if (atIndex == -1) atIndex = this.length - 1; diff --git a/modules/angular2/src/core/debug/debug_element.ts b/modules/angular2/src/core/debug/debug_element.ts index db2655f622..ac47875b54 100644 --- a/modules/angular2/src/core/debug/debug_element.ts +++ b/modules/angular2/src/core/debug/debug_element.ts @@ -11,7 +11,7 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref'; /** * A DebugElement contains information from the Angular compiler about an * element and provides access to the corresponding ElementInjector and - * underlying dom Element, as well as a way to query for children. + * underlying DOM Element, as well as a way to query for children. */ export class DebugElement { _elementInjector: ElementInjector; diff --git a/modules/angular2/src/core/metadata/di.ts b/modules/angular2/src/core/metadata/di.ts index 2bfc595fe2..789ff921e1 100644 --- a/modules/angular2/src/core/metadata/di.ts +++ b/modules/angular2/src/core/metadata/di.ts @@ -97,7 +97,7 @@ export class AttributeMetadata extends DependencyMetadata { * } * ``` * - * A query can look for variable bindinds by passing in a string with desired binding symbol. + * A query can look for variable bindings by passing in a string with desired binding symbol. * * ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview)) * ```html diff --git a/modules/angular2/src/core/pipes/date_pipe.ts b/modules/angular2/src/core/pipes/date_pipe.ts index 718f5aae2c..fa00f266b0 100644 --- a/modules/angular2/src/core/pipes/date_pipe.ts +++ b/modules/angular2/src/core/pipes/date_pipe.ts @@ -49,7 +49,7 @@ var defaultLocale: string = 'en-US'; * | timezone | Z | Z (GMT-8:00) | - | - | - | * * In javascript, only the components specified will be respected (not the ordering, - * punctuations, ...) and details of the the formatting will be dependent on the locale. + * punctuations, ...) and details of the formatting will be dependent on the locale. * On the other hand in Dart version, you can also include quoted text as well as some extra * date/time components such as quarter. For more information see: * https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat. diff --git a/modules/angular2/src/core/pipes/number_pipe.ts b/modules/angular2/src/core/pipes/number_pipe.ts index 93e0437626..fab8bcb96a 100644 --- a/modules/angular2/src/core/pipes/number_pipe.ts +++ b/modules/angular2/src/core/pipes/number_pipe.ts @@ -59,7 +59,7 @@ export class NumberPipe { * WARNING: this pipe uses the Internationalization API. * Therefore it is only reliable in Chrome and Opera browsers. * - * Formats a number as local text. i.e. group sizing and seperator and other locale-specific + * Formats a number as local text. i.e. group sizing and separator and other locale-specific * configurations are based on the active locale. * * # Usage