Skip to content

Commit 662ff47

Browse files
committed
docs: fix typos
Closes angular#4308
1 parent da6def3 commit 662ff47

5 files changed

Lines changed: 5 additions & 5 deletions

File tree

modules/angular2/src/core/compiler/view_container_ref.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ export class ViewContainerRef {
107107

108108
/**
109109
* The method can be used together with insert to implement a view move, i.e.
110-
* moving the dom nodes while the directives in the view stay intact.
110+
* moving the DOM nodes while the directives in the view stay intact.
111111
*/
112112
detach(atIndex: number = -1): ViewRef {
113113
if (atIndex == -1) atIndex = this.length - 1;

modules/angular2/src/core/debug/debug_element.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
1111
/**
1212
* A DebugElement contains information from the Angular compiler about an
1313
* element and provides access to the corresponding ElementInjector and
14-
* underlying dom Element, as well as a way to query for children.
14+
* underlying DOM Element, as well as a way to query for children.
1515
*/
1616
export class DebugElement {
1717
_elementInjector: ElementInjector;

modules/angular2/src/core/metadata/di.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ export class AttributeMetadata extends DependencyMetadata {
9797
* }
9898
* ```
9999
*
100-
* A query can look for variable bindinds by passing in a string with desired binding symbol.
100+
* A query can look for variable bindings by passing in a string with desired binding symbol.
101101
*
102102
* ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))
103103
* ```html

modules/angular2/src/core/pipes/date_pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ var defaultLocale: string = 'en-US';
4949
* | timezone | Z | Z (GMT-8:00) | - | - | - |
5050
*
5151
* In javascript, only the components specified will be respected (not the ordering,
52-
* punctuations, ...) and details of the the formatting will be dependent on the locale.
52+
* punctuations, ...) and details of the formatting will be dependent on the locale.
5353
* On the other hand in Dart version, you can also include quoted text as well as some extra
5454
* date/time components such as quarter. For more information see:
5555
* https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat.

modules/angular2/src/core/pipes/number_pipe.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export class NumberPipe {
5959
* WARNING: this pipe uses the Internationalization API.
6060
* Therefore it is only reliable in Chrome and Opera browsers.
6161
*
62-
* Formats a number as local text. i.e. group sizing and seperator and other locale-specific
62+
* Formats a number as local text. i.e. group sizing and separator and other locale-specific
6363
* configurations are based on the active locale.
6464
*
6565
* # Usage

0 commit comments

Comments
 (0)