diff options
| author | Igor Minar | 2013-10-11 12:58:57 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-10-11 17:12:24 -0700 | 
| commit | b7af76b4c5aa77648cc1bfd49935b48583419023 (patch) | |
| tree | b3f28a9f275d513dfc7df15890be267e68f9b1e4 /test/ng/compileSpec.js | |
| parent | 4357da857587d3c28790e7dc654664bec5808768 (diff) | |
| download | angular.js-b7af76b4c5aa77648cc1bfd49935b48583419023.tar.bz2 | |
fix(directives): correct priority of structural directives
BREAKING CHANGE: the priority of ngRepeat, ngSwitchWhen, ngIf,
ngInclude and ngView has changed. This could affect directives that
explicitly specify their priority.
In order to make ngRepeat, ngSwitchWhen, ngIf, ngInclude and ngView
work together in all common scenarios their directives are being
adjusted to achieve the following precendence:
Directive        | Old Priority | New Priority
=============================================
ngRepeat         | 1000         | 1000
---------------------------------------------
ngSwitchWhen     | 500          | 800
---------------------------------------------
ngIf             | 1000         | 600
---------------------------------------------
ngInclude/ngView | 1000         | 400
Diffstat (limited to 'test/ng/compileSpec.js')
0 files changed, 0 insertions, 0 deletions
