docs: fix typos

Closes #4308
This commit is contained in:
mgechev 2015-09-22 12:11:25 +03:00 committed by Minko Gechev
parent da6def3772
commit 662ff47627
5 changed files with 5 additions and 5 deletions

View File

@ -107,7 +107,7 @@ export class ViewContainerRef {
/** /**
* The method can be used together with insert to implement a view move, i.e. * 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 { detach(atIndex: number = -1): ViewRef {
if (atIndex == -1) atIndex = this.length - 1; if (atIndex == -1) atIndex = this.length - 1;

View File

@ -11,7 +11,7 @@ import {ElementRef} from 'angular2/src/core/compiler/element_ref';
/** /**
* A DebugElement contains information from the Angular compiler about an * A DebugElement contains information from the Angular compiler about an
* element and provides access to the corresponding ElementInjector and * 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 { export class DebugElement {
_elementInjector: ElementInjector; _elementInjector: ElementInjector;

View File

@ -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)) * ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))
* ```html * ```html

View File

@ -49,7 +49,7 @@ var defaultLocale: string = 'en-US';
* | timezone | Z | Z (GMT-8:00) | - | - | - | * | timezone | Z | Z (GMT-8:00) | - | - | - |
* *
* In javascript, only the components specified will be respected (not the ordering, * 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 * 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: * date/time components such as quarter. For more information see:
* https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat. * https://api.dartlang.org/apidocs/channels/stable/dartdoc-viewer/intl/intl.DateFormat.

View File

@ -59,7 +59,7 @@ export class NumberPipe {
* WARNING: this pipe uses the Internationalization API. * WARNING: this pipe uses the Internationalization API.
* Therefore it is only reliable in Chrome and Opera browsers. * 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. * configurations are based on the active locale.
* *
* # Usage * # Usage