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

fix($compile): reference local in isolate scope #1359

Closed
wants to merge 1 commit into from

Conversation

vojtajina
Copy link
Contributor

This was really corner case:
Watcher needs to return changed value, to notify that model might have changed and one more $digest cycle needs to be performed.

The watcher, that takes care of reference binding into an isolate scope ("="), did not return changed value, if the change was from the isolate scope to the parent.

If any other watcher returned change, it worked fine, as this change caused re-digest.

Closes #1272

This was really corner case:
Watcher needs to return changed value, to notify that model might have changed and one more $digest cycle needs to be performed.

The watcher, that takes care of reference binding into an isolate scope ("="), did not return changed value, if the change was from the isolate scope to the parent.

If any other watcher returned change, it worked fine, as this change caused re-digest.

Closes angular#1272
@vojtajina
Copy link
Contributor Author

Merged to master as 8db47ca and v1.0.x as cf2c49e

@vojtajina vojtajina closed this Sep 22, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

$timeout() doesn't update the model
2 participants