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

$watchCollection listener is not returning old value for objects #4683

Closed
gizm0bill opened this issue Oct 28, 2013 · 2 comments
Closed

$watchCollection listener is not returning old value for objects #4683

gizm0bill opened this issue Oct 28, 2013 · 2 comments

Comments

@gizm0bill
Copy link

Both objects are the same in the callback.
As I see in your specs you are only testing the new value and in the code there is something like: "copy the items to oldValue and look for changes."

Please explain, thanks!

@gonzaloruizdevilla
Copy link
Contributor

I made a PR for this: #3865. It's related to issue #1751.
This commit should fix it: gonzaloruizdevilla@bf69ca0
Milestone for this is Post-1.2

@IgorMinar
Copy link
Contributor

dupe of #2621

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants