angular.js/test
Igor Minar 79223eae50 fix($compile): attribute bindings should not break due to terminal directives
Recently we changed the priority of attribute interpolation directive to -100
to ensure that it executes early in the post linking phase. This causes issues
with when terminal directives are placed on elements with attribute bindings
because the terminal directive will usually have 0 or higher priority which
results in attr interpolation directive not being applied to the element.

To fix this issue I'm switching the priority back to 100 and making moving the
binding setup into the pre-linking function.

This means that:

- terminal directives with priority lower than 100 will not affect the attribute
  binding
- if a directive wants to add or alter bindings it can do so in the pre-linking
  phase, as long as the priority of this directive is more than 100
- all post-linking functions will execute after the attribute binding has been
  set up
- all pre-linking functions with directive priority lower than 100 will execute
  after the attribute bindings have been setup

BREAKING CHANGE: the attribute interpolation (binding) executes as a directive
with priority 100 and the binding is set up in the pre-linking phase. It used
to be that the priority was -100 in rc.2 (100 before rc.2) and that the binding
was setup in the post-linking phase.

Closes #4525
Closes #4528
Closes #4649
2013-10-25 14:19:58 -07:00
..
auto style(injectorSpec): fix typo in "it" description 2013-10-25 21:52:46 +01:00
helpers fix(modules): stop leaking global variables in tests 2013-10-10 11:58:15 -07:00
ng fix($compile): attribute bindings should not break due to terminal directives 2013-10-25 14:19:58 -07:00
ngAnimate fix($animate): skip unnecessary addClass/removeClass animations 2013-10-24 17:35:57 -04:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(modules): stop leaking global variables in tests 2013-10-10 11:58:15 -07:00
ngResource fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
ngRoute fix(ngView): ensure the new view element is placed after the old view element 2013-10-23 10:30:45 -07:00
ngSanitize fix($sanitize): sanitize DOCTYPE declarations correctly 2013-10-03 08:42:15 +01:00
ngScenario test($browser): correct false positive in ApplicationSpec.js 2013-09-11 22:19:24 +01:00
ngTouch fix(ngTouch): add $event to ng-swipe 2013-10-08 12:55:16 +01:00
AngularSpec.js fix(csp): fix csp auto-detection and stylesheet injection 2013-10-18 17:33:53 -07:00
ApiSpecs.js feat(ngRepeat): add support for custom tracking of items 2013-03-29 23:01:52 -07:00
BinderSpec.js feat(ngRepeat): use block separator comments 2013-10-09 15:19:10 -07:00
jqLiteSpec.js fix(jqLite): ignore class methods on comment elements 2013-10-09 15:19:10 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js feat(jqLite): switch bind/unbind to more recent jQuery on/off 2013-06-19 20:53:24 +01:00
loaderSpec.js fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00