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

Commit d18d5f5

Browse files
philwestwellcaitp
authored andcommitted
docs(*): fix its/it's grammar
1 parent 2d9e967 commit d18d5f5

File tree

9 files changed

+11
-11
lines changed

9 files changed

+11
-11
lines changed

Diff for: CHANGELOG.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3708,7 +3708,7 @@ behavior and migrate your controllers one at a time: <https://gist.github.com/16
37083708
([commit](https://github.com/angular/angular.js/commit/78656fe0dfc99c341ce02d71e7006e9c05b1fe3f))
37093709
37103710
- fn signature change for change listener functions registered via `scope.$watch` - this means that
3711-
the scope object can be listed in the arguments list only if its needed and skipped otherwise.
3711+
the scope object can be listed in the arguments list only if it's needed and skipped otherwise.
37123712
([commit](https://github.com/angular/angular.js/commit/0196411dbe179afe24f4faa6d6503ff3f69472da))
37133713
37143714
- before: `scope.$watch('someModel', function(scope, newVal, oldVal) {})`
@@ -4642,7 +4642,7 @@ with the `$route` service
46424642
- docs app UI polishing with dual scrolling and other improvements
46434643
46444644
### Bug Fixes
4645-
- `select` widget now behaves correctly when it's `option` items are created via `ng:repeat`
4645+
- `select` widget now behaves correctly when its `option` items are created via `ng:repeat`
46464646
(issue #170)
46474647
- fix for async xhr cache issue #152 by adding `$browser.defer` and `$defer` service
46484648

Diff for: src/ng/animate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ var $AnimateProvider = ['$provide', function($provide) {
226226
* @function
227227
* @description Adds and/or removes the given CSS classes to and from the element.
228228
* Once complete, the done() callback will be fired (if provided).
229-
* @param {DOMElement} element the element which will it's CSS classes changed
229+
* @param {DOMElement} element the element which will have its CSS classes changed
230230
* removed from it
231231
* @param {string} add the CSS classes which will be added to the element
232232
* @param {string} remove the CSS class which will be removed from the element

Diff for: src/ng/directive/ngIf.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ var ngIfDirective = ['$animate', function($animate) {
9494
clone[clone.length++] = document.createComment(' end ngIf: ' + $attr.ngIf + ' ');
9595
// Note: We only need the first/last node of the cloned nodes.
9696
// However, we need to keep the reference to the jqlite wrapper as it might be changed later
97-
// by a directive with templateUrl when it's template arrives.
97+
// by a directive with templateUrl when its template arrives.
9898
block = {
9999
clone: clone
100100
};

Diff for: src/ng/directive/ngRepeat.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -375,7 +375,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {
375375
block.scope = childScope;
376376
// Note: We only need the first/last node of the cloned nodes.
377377
// However, we need to keep the reference to the jqlite wrapper as it might be changed later
378-
// by a directive with templateUrl when it's template arrives.
378+
// by a directive with templateUrl when its template arrives.
379379
block.clone = clone;
380380
nextBlockMap[block.id] = block;
381381
});

Diff for: src/ng/sce.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -543,7 +543,7 @@ function $SceDelegateProvider() {
543543
* - `**`: matches zero or more occurrences of *any* character. As such, it's not
544544
* not appropriate to use in for a scheme, domain, etc. as it would match too much. (e.g.
545545
* http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might
546-
* not have been the intention.) It's usage at the very end of the path is ok. (e.g.
546+
* not have been the intention.) Its usage at the very end of the path is ok. (e.g.
547547
* http://foo.example.com/templates/**).
548548
* - **RegExp** (*see caveat below*)
549549
* - *Caveat*: While regular expressions are powerful and offer great flexibility, their syntax

Diff for: test/jqLiteSpec.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ describe('jqLite', function() {
229229
dealoc(element);
230230
});
231231

232-
it('should retrieve scope attached to the html element if its requested on the document',
232+
it('should retrieve scope attached to the html element if it\'s requested on the document',
233233
function() {
234234
var doc = jqLite(document),
235235
html = doc.find('html'),
@@ -299,7 +299,7 @@ describe('jqLite', function() {
299299
});
300300

301301

302-
it('should retrieve injector attached to the html element if its requested on document',
302+
it('should retrieve injector attached to the html element if it\'s requested on document',
303303
function() {
304304
var doc = jqLite(document),
305305
html = doc.find('html'),

Diff for: test/ng/compileSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2739,7 +2739,7 @@ describe('$compile', function() {
27392739
$rootScope.name = 'same';
27402740
$rootScope.$apply();
27412741

2742-
//change origin back to it's previous value
2742+
//change origin back to its previous value
27432743
$rootScope.name = 'aaa';
27442744
$rootScope.$apply();
27452745

Diff for: test/ng/directive/ngIncludeSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ describe('ngInclude and transcludes', function() {
504504
});
505505
});
506506

507-
it("should compile it's content correctly (although we remove it later)", function() {
507+
it("should compile its content correctly (although we remove it later)", function() {
508508
var testElement;
509509
module(function() {
510510
directive('test', function() {

Diff for: test/ng/locationSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -1541,7 +1541,7 @@ describe('$location', function() {
15411541
});
15421542

15431543

1544-
it('should not strip stuff from path just because it looks like Windows drive when its not',
1544+
it('should not strip stuff from path just because it looks like Windows drive when it\'s not',
15451545
function() {
15461546
location = new LocationHashbangUrl('http://server/pre/index.html', '#');
15471547

0 commit comments

Comments
 (0)