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

Some grammar corrections "it's" vs "its" #7580

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4353,7 +4353,7 @@ behavior and migrate your controllers one at a time: <https://gist.github.com/16
([commit](https://github.com/angular/angular.js/commit/78656fe0dfc99c341ce02d71e7006e9c05b1fe3f))

- fn signature change for change listener functions registered via `scope.$watch` - this means that
the scope object can be listed in the arguments list only if its needed and skipped otherwise.
the scope object can be listed in the arguments list only if it's needed and skipped otherwise.
([commit](https://github.com/angular/angular.js/commit/0196411dbe179afe24f4faa6d6503ff3f69472da))

- before: `scope.$watch('someModel', function(scope, newVal, oldVal) {})`
Expand Down Expand Up @@ -5287,7 +5287,7 @@ with the `$route` service
- docs app UI polishing with dual scrolling and other improvements

### Bug Fixes
- `select` widget now behaves correctly when it's `option` items are created via `ng:repeat`
- `select` widget now behaves correctly when its `option` items are created via `ng:repeat`
(issue #170)
- fix for async xhr cache issue #152 by adding `$browser.defer` and `$defer` service

Expand Down
2 changes: 1 addition & 1 deletion src/ng/animate.js
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ var $AnimateProvider = ['$provide', function($provide) {
* @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 have 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
2 changes: 1 addition & 1 deletion src/ng/directive/ngIf.js
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ var ngIfDirective = ['$animate', function($animate) {
clone[clone.length++] = document.createComment(' end ngIf: ' + $attr.ngIf + ' ');
// Note: We only need the first/last node of the cloned nodes.
// However, we need to keep the reference to the jqlite wrapper as it might be changed later
// by a directive with templateUrl when it's template arrives.
// by a directive with templateUrl when its template arrives.
block = {
clone: clone
};
Expand Down
2 changes: 1 addition & 1 deletion src/ng/directive/ngRepeat.js
Original file line number Diff line number Diff line change
Expand Up @@ -375,7 +375,7 @@ var ngRepeatDirective = ['$parse', '$animate', function($parse, $animate) {
block.scope = childScope;
// Note: We only need the first/last node of the cloned nodes.
// However, we need to keep the reference to the jqlite wrapper as it might be changed later
// by a directive with templateUrl when it's template arrives.
// by a directive with templateUrl when its template arrives.
block.clone = clone;
nextBlockMap[block.id] = block;
});
Expand Down
2 changes: 1 addition & 1 deletion src/ng/sce.js
Original file line number Diff line number Diff line change
Expand Up @@ -543,7 +543,7 @@ function $SceDelegateProvider() {
* - `**`: matches zero or more occurrences of *any* character. As such, it's not
* not appropriate to use in for a scheme, domain, etc. as it would match too much. (e.g.
* http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might
* not have been the intention.) It's usage at the very end of the path is ok. (e.g.
* not have been the intention.) Its usage at the very end of the path is ok. (e.g.
* http://foo.example.com/templates/**).
* - **RegExp** (*see caveat below*)
* - *Caveat*: While regular expressions are powerful and offer great flexibility, their syntax
Expand Down
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 its CSS classes changed
* @param {DOMElement} element the element which will have 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
4 changes: 2 additions & 2 deletions test/jqLiteSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ describe('jqLite', function() {
dealoc(element);
});

it('should retrieve scope attached to the html element if its requested on the document',
it('should retrieve scope attached to the html element if it\'s requested on the document',
function() {
var doc = jqLite(document),
html = doc.find('html'),
Expand Down Expand Up @@ -301,7 +301,7 @@ describe('jqLite', function() {
});


it('should retrieve injector attached to the html element if its requested on document',
it('should retrieve injector attached to the html element if it\'s requested on document',
function() {
var doc = jqLite(document),
html = doc.find('html'),
Expand Down
2 changes: 1 addition & 1 deletion test/ng/compileSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -2962,7 +2962,7 @@ describe('$compile', function() {
$rootScope.name = 'same';
$rootScope.$apply();

//change origin back to it's previous value
//change origin back to its previous value
$rootScope.name = 'aaa';
$rootScope.$apply();

Expand Down
2 changes: 1 addition & 1 deletion test/ng/directive/ngIncludeSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -506,7 +506,7 @@ describe('ngInclude 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() {
directive('test', function() {
Expand Down
2 changes: 1 addition & 1 deletion test/ng/locationSpec.js
Original file line number Diff line number Diff line change
Expand Up @@ -1543,7 +1543,7 @@ describe('$location', function() {
});


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

Expand Down