diff options
| author | jankuca | 2013-09-25 15:35:50 -0700 | 
|---|---|---|
| committer | Jeff Cross | 2013-09-26 15:01:35 -0700 | 
| commit | 6a8edc1d43aca7c5a92f86309b1bb1d5f9968442 (patch) | |
| tree | 111213bf971c191f72f17558bfdca7313d3ae06f /docs/component-spec | |
| parent | 6cadabf910d86d72888b00db84989ba6d756ec88 (diff) | |
| download | angular.js-6a8edc1d43aca7c5a92f86309b1bb1d5f9968442.tar.bz2 | |
fix($compile): collect ranges on multiple directives on one element
The problem was in keeping the values of `attrNameStart` and `attrNameEnd` between directive loop iterations which lead to the compiler looking for multi-element ranges for any directives that happened to be in the directive list after one that was applied on a range. For instance, having a ng-repeat-start and ng-class on a single element with ng-repeat being resolved first made the compiler look for an ng-repeat-end for both ng-repeat and ng-class because the `attrNameEnd` was not reset to a falsy value before the second iteration. As the result, an exception saying the block end element could not be found and the second directive was not actually applied.
Closes #4002
Diffstat (limited to 'docs/component-spec')
0 files changed, 0 insertions, 0 deletions
