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

Fix 836 1166 #1494

Closed
wants to merge 5 commits into from
Closed

Fix 836 1166 #1494

wants to merge 5 commits into from

Conversation

IgorMinar
Copy link
Contributor

No description provided.

This fixes the issue that caused two attr interpolation observers
to be registered for the same attribute as a result of isolate
scope definition with attr (@) property for this attribute.

Duplicate observers would then fight with each other updating the
model.

The issue occured only when this directive was used in a repeater
because that's when we clone the template node which caused the
two observers to point to two different sets of $attr instances.

Closes angular#1166, angular#836
if a node doesn't have children then don't try to compile these non-existent children
if className is undefined or empty string, don't bother looking for directives in there
@vojtajina
Copy link
Contributor

LGTM

@IgorMinar
Copy link
Contributor Author

landed

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.

2 participants