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

docs($rootScope.Scope): grammar #15263

Closed
wants to merge 1 commit into from
Closed

Conversation

thorn0
Copy link
Contributor

@thorn0 thorn0 commented Oct 13, 2016

No description provided.

@@ -437,7 +437,7 @@ function $RootScopeProvider() {
* If any one expression in the collection changes the `listener` is executed.
*
* - The items in the `watchExpressions` array are observed via standard $watch operation and are examined on every
* call to $digest() to see if any items changes.
* call to $digest() to see if any items change.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This makes it sound as if the act of examining itself may cause the change. I think it is more clear to say: "if any item(s) changed"

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What if we put it this way?

The items in the watchExpressions array are observed via standard $watch operation. Their return values are examined for changes on every call to $digest.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me. I'll change it to what you suggested while merging.

@gkalpak
Copy link
Member

gkalpak commented Oct 14, 2016

@googlebot, could you please do your CLA thing?

@gkalpak
Copy link
Member

gkalpak commented Oct 14, 2016

@thorn0, could you comment on the PR. Maybe that would trigger @googlebot.

@thorn0
Copy link
Contributor Author

thorn0 commented Oct 14, 2016

What's wrong with @googlebot?

@gkalpak gkalpak closed this in 406c1b0 Oct 14, 2016
gkalpak pushed a commit that referenced this pull request Oct 14, 2016
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Nov 21, 2016
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Nov 21, 2016
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Nov 21, 2016
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Nov 21, 2016
petebacondarwin pushed a commit to petebacondarwin/angular.js that referenced this pull request Nov 21, 2016
petebacondarwin pushed a commit that referenced this pull request Nov 23, 2016
petebacondarwin pushed a commit that referenced this pull request Nov 24, 2016
ellimist pushed a commit to ellimist/angular.js that referenced this pull request Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants