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

Commit def5b57

Browse files
rilliancaitp
authored andcommitted
docs(*): fix its vs it's typos.
Only use the apostrophe if you can expand "it's" to "it is" and still have a grammatical phrase. Closes #7524
1 parent 6b52848 commit def5b57

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

src/ngAnimate/animate.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -795,7 +795,7 @@ angular.module('ngAnimate', ['ng'])
795795
* | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
796796
* | 9. The doneCallback() callback is fired (if provided) | class="my-animation" |
797797
*
798-
* @param {DOMElement} element the element which will it's CSS classes changed
798+
* @param {DOMElement} element the element which will its CSS classes changed
799799
* removed from it
800800
* @param {string} add the CSS classes which will be added to the element
801801
* @param {string} remove the CSS class which will be removed from the element

src/ngScenario/Future.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ angular.scenario.Future.prototype.execute = function(doneFn) {
3838
};
3939

4040
/**
41-
* Configures the future to convert it's final with a function fn(value)
41+
* Configures the future to convert its final with a function fn(value)
4242
*
4343
* @param {function()} fn function(value) that returns the parsed value
4444
*/
@@ -48,15 +48,15 @@ angular.scenario.Future.prototype.parsedWith = function(fn) {
4848
};
4949

5050
/**
51-
* Configures the future to parse it's final value from JSON
51+
* Configures the future to parse its final value from JSON
5252
* into objects.
5353
*/
5454
angular.scenario.Future.prototype.fromJson = function() {
5555
return this.parsedWith(angular.fromJson);
5656
};
5757

5858
/**
59-
* Configures the future to convert it's final value from objects
59+
* Configures the future to convert its final value from objects
6060
* into JSON.
6161
*/
6262
angular.scenario.Future.prototype.toJson = function() {

test/ngRoute/directive/ngViewSpec.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,7 @@ describe('ngView and transcludes', function() {
589589
});
590590
});
591591

592-
it("should compile it's content correctly (although we remove it later)", function() {
592+
it("should compile its content correctly (although we remove it later)", function() {
593593
var testElement;
594594
module(function($compileProvider, $routeProvider) {
595595
$routeProvider.when('/view', {template: ' '});

0 commit comments

Comments
 (0)