mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-23 19:40:56 +08:00
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.
This commit is contained in:
committed by
Caitlin Potter
parent
c5e39c688b
commit
cecd5214df
@@ -708,7 +708,7 @@ angular.module('ngAnimate', ['ng'])
|
||||
* @function
|
||||
* @description Adds and/or removes the given CSS classes to and from the element.
|
||||
* Once complete, the done() callback will be fired (if provided).
|
||||
* @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
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
@@ -48,7 +48,7 @@ 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() {
|
||||
@@ -56,7 +56,7 @@ angular.scenario.Future.prototype.fromJson = function() {
|
||||
};
|
||||
|
||||
/**
|
||||
* 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() {
|
||||
|
||||
Reference in New Issue
Block a user