forked from angular/angular.js
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(compile): Collecting directives from tags that will be replaced
Fix the collecting of directives from elements that will get replaced by another directive on an attribute. If the element has an attribute or class directive that will replace the entire element, then do not collect the directive on the element Closes angular#2573 BREAKING CHANGE: * Will break directives that made the assumption that any directive on the replaced element would get collected * Will break directives that expect to be collected twice when they were replaced by another directive that is marked as replace
- Loading branch information
Showing
2 changed files
with
33 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters