docs: fix some typos in comments and strings
Couple of typos fixed: - occuring -> occurring - imlement -> implement - idenitifer -> identifer etc... Closes #5943
This commit is contained in:
@ -14,7 +14,7 @@ export const VALID = "VALID";
|
||||
export const INVALID = "INVALID";
|
||||
|
||||
/**
|
||||
* Indicates that a Control is pending, i.e. that async validation is occuring and
|
||||
* Indicates that a Control is pending, i.e. that async validation is occurring and
|
||||
* errors are not yet available for the input value.
|
||||
*/
|
||||
export const PENDING = "PENDING";
|
||||
|
@ -52,7 +52,7 @@ import {
|
||||
}
|
||||
|
||||
* encapsultion: Styles defined within ShadowDOM, apply only to
|
||||
dom inside the ShadowDOM. Polymer uses one of two techniques to imlement
|
||||
dom inside the ShadowDOM. Polymer uses one of two techniques to implement
|
||||
this feature.
|
||||
|
||||
By default, rules are prefixed with the host element tag name
|
||||
|
@ -51,8 +51,8 @@ import {splitAtColon} from './util';
|
||||
// Group 3 = "on-"
|
||||
// Group 4 = "bindon-"
|
||||
// Group 5 = the identifier after "bind-", "var-/#", or "on-"
|
||||
// Group 6 = idenitifer inside [()]
|
||||
// Group 7 = idenitifer inside []
|
||||
// Group 6 = identifer inside [()]
|
||||
// Group 7 = identifer inside []
|
||||
// Group 8 = identifier inside ()
|
||||
var BIND_NAME_REGEXP =
|
||||
/^(?:(?:(?:(bind-)|(var-|#)|(on-)|(bindon-))(.+))|\[\(([^\)]+)\)\]|\[([^\]]+)\]|\(([^\)]+)\))$/g;
|
||||
|
@ -73,7 +73,7 @@ export function codeGenToString(expr: string): string {
|
||||
if (IS_DART) {
|
||||
return `'\${${expr}}'`;
|
||||
} else {
|
||||
// JS automatically convets to string...
|
||||
// JS automatically converts to string...
|
||||
return expr;
|
||||
}
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import {BaseException, WrappedException} from 'angular2/src/facade/exceptions';
|
||||
import {PromiseCompleter, PromiseWrapper, Promise} from 'angular2/src/facade/async';
|
||||
|
||||
/**
|
||||
* A mock implemenation of {@link XHR} that allows outgoing requests to be mocked
|
||||
* A mock implementation of {@link XHR} that allows outgoing requests to be mocked
|
||||
* and responded to within a single test, without going to the network.
|
||||
*/
|
||||
export class MockXHR extends XHR {
|
||||
|
@ -161,7 +161,7 @@ export class Provider {
|
||||
* expect(injector.get(String)).toEqual('Value: 3');
|
||||
* ```
|
||||
*
|
||||
* Used in conjuction with dependencies.
|
||||
* Used in conjunction with dependencies.
|
||||
*/
|
||||
useFactory: Function;
|
||||
|
||||
@ -211,7 +211,7 @@ export class Provider {
|
||||
* Creates multiple providers matching the same token (a multi-provider).
|
||||
*
|
||||
* Multi-providers are used for creating pluggable service, where the system comes
|
||||
* with some default providers, and the user can register additonal providers.
|
||||
* with some default providers, and the user can register additional providers.
|
||||
* The combination of the default providers and the additional providers will be
|
||||
* used to drive the behavior of the system.
|
||||
*
|
||||
|
@ -276,7 +276,7 @@ export class NgZone {
|
||||
get hasPendingTimers(): boolean { return this._pendingTimeouts.length > 0; }
|
||||
|
||||
/**
|
||||
* Whether there are any outstanding asychnronous tasks of any kind that are
|
||||
* Whether there are any outstanding asynchronous tasks of any kind that are
|
||||
* scheduled to run within Angular zone.
|
||||
*
|
||||
* Useful as a signal of UI stability. For example, when a test reaches a
|
||||
|
Reference in New Issue
Block a user