Skip to content

Commit

Permalink
docs(*): fix its vs it's typos.
Browse files Browse the repository at this point in the history
Only use the apostrophe if you can expand "it's" to "it is" and
still have a grammatical phrase.

Closes angular#7524
  • Loading branch information
rillian authored and caitp committed May 20, 2014
1 parent 6b52848 commit def5b57
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/ngAnimate/animate.js
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ angular.module('ngAnimate', ['ng'])
* | 8. The animation ends and all generated CSS classes are removed from the element | class="my-animation" |
* | 9. The doneCallback() callback is fired (if provided) | class="my-animation" |
*
* @param {DOMElement} element the element which will it's CSS classes changed
* @param {DOMElement} element the element which will its CSS classes changed
* removed from it
* @param {string} add the CSS classes which will be added to the element
* @param {string} remove the CSS class which will be removed from the element
Expand Down
6 changes: 3 additions & 3 deletions src/ngScenario/Future.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ angular.scenario.Future.prototype.execute = function(doneFn) {
};

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

/**
* Configures the future to parse it's final value from JSON
* Configures the future to parse its final value from JSON
* into objects.
*/
angular.scenario.Future.prototype.fromJson = function() {
return this.parsedWith(angular.fromJson);
};

/**
* Configures the future to convert it's final value from objects
* Configures the future to convert its final value from objects
* into JSON.
*/
angular.scenario.Future.prototype.toJson = function() {
Expand Down
2 changes: 1 addition & 1 deletion test/ngRoute/directive/ngViewSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ describe('ngView and transcludes', function() {
});
});

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

0 comments on commit def5b57

Please sign in to comment.