Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit e57cf13

Browse files
jutazgkalpak
authored andcommitted
docs: fix typos throughout the codebase
Closes #13507
1 parent e4e5677 commit e57cf13

22 files changed

+88
-88
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ install:
4747
# Log HTTP requests
4848
- npm config set loglevel http
4949
- npm install -g [email protected]
50-
# Instal npm dependecies and ensure that npm cache is not stale
50+
# Install npm dependencies and ensure that npm cache is not stale
5151
- npm install
5252

5353
before_script:

CHANGELOG.md

Lines changed: 56 additions & 56 deletions
Large diffs are not rendered by default.

i18n/closure/numberSymbolsExt.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* using the --for_closure flag.
2121
* File generated from CLDR ver. 27.0.1
2222
*
23-
* This file coveres those locales that are not covered in
23+
* This file covers those locales that are not covered in
2424
* "numberformatsymbols.js".
2525
*
2626
* Before checkin, this file could have been manually edited. This is

i18n/src/parser.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var PATTERN_SEP = ';',
1111
DIGIT = '#';
1212

1313
/**
14-
* main funciton for parser
14+
* main function for parser
1515
* @param str {string} pattern to be parsed (e.g. #,##0.###).
1616
*/
1717
function parsePattern(pattern) {

lib/versions/version-info.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ var getSnapshotVersion = function() {
178178
// last release was a non beta release. Increment the patch level to
179179
// indicate the next release that we will be doing.
180180
// E.g. last release was 1.3.0, then the snapshot will be
181-
// 1.3.1-build.1, which is lesser than 1.3.1 accorind the semver!
181+
// 1.3.1-build.1, which is lesser than 1.3.1 according to the semver!
182182

183183
// If the last release was a beta release we don't update the
184184
// beta number by purpose, as otherwise the semver comparison

src/Angular.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ function isArrayLike(obj) {
204204

205205
// arrays, strings and jQuery/jqLite objects are array like
206206
// * jqLite is either the jQuery or jqLite constructor function
207-
// * we have to check the existance of jqLite first as this method is called
207+
// * we have to check the existence of jqLite first as this method is called
208208
// via the forEach method when constructing the jqLite object in the first place
209209
if (isArray(obj) || isString(obj) || (jqLite && obj instanceof jqLite)) return true;
210210

src/jqLite.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ function jqLiteRemove(element, keepData) {
504504
function jqLiteDocumentLoaded(action, win) {
505505
win = win || window;
506506
if (win.document.readyState === 'complete') {
507-
// Force the action to be run async for consistent behaviour
507+
// Force the action to be run async for consistent behavior
508508
// from the action's point of view
509509
// i.e. it will definitely not be in a $apply
510510
win.setTimeout(action);

src/ng/animate.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -551,14 +551,14 @@ var $AnimateProvider = ['$provide', function($provide) {
551551
* If any detected CSS transition, keyframe or JavaScript matches the provided className value then the animation will take
552552
* on the provided styles. For example, if a transition animation is set for the given className then the provided from and
553553
* to styles will be applied alongside the given transition. If a JavaScript animation is detected then the provided styles
554-
* will be given in as function paramters into the `animate` method (or as apart of the `options` parameter).
554+
* will be given in as function parameters into the `animate` method (or as apart of the `options` parameter).
555555
*
556556
* @param {DOMElement} element the element which the CSS styles will be applied to
557557
* @param {object} from the from (starting) CSS styles that will be applied to the element and across the animation.
558558
* @param {object} to the to (destination) CSS styles that will be applied to the element and across the animation.
559559
* @param {string=} className an optional CSS class that will be applied to the element for the duration of the animation. If
560560
* this value is left as empty then a CSS class of `ng-inline-animate` will be applied to the element.
561-
* (Note that if no animation is detected then this value will not be appplied to the element.)
561+
* (Note that if no animation is detected then this value will not be applied to the element.)
562562
* @param {object=} options an optional collection of options/styles that will be applied to the element
563563
*
564564
* @return {Promise} the animation callback promise

src/ng/compile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
* When this property is set to true, the HTML compiler will collect DOM nodes between
129129
* nodes with the attributes `directive-name-start` and `directive-name-end`, and group them
130130
* together as the directive elements. It is recommended that this feature be used on directives
131-
* which are not strictly behavioural (such as {@link ngClick}), and which
131+
* which are not strictly behavioral (such as {@link ngClick}), and which
132132
* do not manipulate or replace child nodes (such as {@link ngInclude}).
133133
*
134134
* #### `priority`
@@ -517,7 +517,7 @@
517517
* content and the `scope` is the newly created transclusion scope, to which the clone is bound.
518518
*
519519
* <div class="alert alert-info">
520-
* **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a translude function
520+
* **Best Practice**: Always provide a `cloneFn` (clone attach function) when you call a transclude function
521521
* since you then get a fresh clone of the original DOM and also have access to the new transclusion scope.
522522
* </div>
523523
*
@@ -549,7 +549,7 @@
549549
* </div>
550550
*
551551
* The built-in DOM manipulation directives, such as {@link ngIf}, {@link ngSwitch} and {@link ngRepeat}
552-
* automatically destroy their transluded clones as necessary so you do not need to worry about this if
552+
* automatically destroy their transcluded clones as necessary so you do not need to worry about this if
553553
* you are simply using {@link ngTransclude} to inject the transclusion into your directive.
554554
*
555555
*

src/ng/directive/form.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ function FormController(element, attrs, $scope, $animate, $interpolate) {
127127
*
128128
* However, if the method is used programmatically, for example by adding dynamically created controls,
129129
* or controls that have been previously removed without destroying their corresponding DOM element,
130-
* it's the developers responsiblity to make sure the current state propagates to the parent form.
130+
* it's the developers responsibility to make sure the current state propagates to the parent form.
131131
*
132132
* For example, if an input control is added that is already `$dirty` and has `$error` properties,
133133
* calling `$setDirty()` and `$validate()` afterwards will propagate the state to the parent form.

0 commit comments

Comments
 (0)