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

docs($rootScope.Scope): clarify $watchGroup "oldValues" argument #16005

Merged
merged 1 commit into from
Jun 29, 2017

Conversation

Narretz
Copy link
Contributor

@Narretz Narretz commented May 22, 2017

This should help to prevent issues such as #8671, #12452, #16004.

Closes #12643

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
docs

What is the current behavior? (You can also link to an open issue here)
unclear docs

What is the new behavior (if this is a feature change)?
hopefully clearer docs :)

Does this PR introduce a breaking change?
No

Please check if the PR fulfills these requirements

Other information:

@Narretz Narretz added this to the Backlog milestone May 22, 2017
Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

This does not apply to master any more (changed with #15854). Let's hold off on this, until we investigate the implications of that change.

*
* $scope.v2 = 'b'
*
* // v1 hasn't changed since the it became `'a'`, therefore its oldValue is still `undefined`
Copy link
Member

Choose a reason for hiding this comment

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

since the it --> since it

@Narretz Narretz changed the base branch from master to v1.6.x June 29, 2017 09:07
@Narretz
Copy link
Contributor Author

Narretz commented Jun 29, 2017

@gkalpak I think we should still merge this into 1.6.x Wdyt?

Copy link
Member

@gkalpak gkalpak left a comment

Choose a reason for hiding this comment

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

LGTM

@gkalpak
Copy link
Member

gkalpak commented Jun 29, 2017

I agree. It is good to go for 1.6.x.

@Narretz Narretz merged commit 06baf18 into angular:v1.6.x Jun 29, 2017
@Narretz Narretz deleted the docs-watchgroup branch November 30, 2017 10:28
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.

3 participants