angular.js/test
Daniel Tabuenca 2d0f6ccba8 fix($compile): ensure isolated local watches' lastValue is always in sync
When using two-way binding with isolate scope, under some circumstances
the lastValue variable captured in the parentValueWatch function can get
out of sync.

Specifically, if both the value in the origin scope as well as the value
in the isolate scope get independently updated to the same value within
one digest cycle, the lastValue is never updated. This potentially causes
the watch to make the wrong decision as to which side to update on subsequent
passes.

This fixes things by ensuring lastValue is always set to the last seen
value even if the watch's logic was short circuited because there was no
difference between the values in the original and isolate scopes.

Closes #5182
2013-12-04 09:45:20 -08: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): ensure isolated local watches' lastValue is always in sync 2013-12-04 09:45:20 -08:00
ngAnimate fix(ngAnimate): ensure animations are disabled upon bootstrap for structrual animations 2013-11-25 15:00:50 -05:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:04:07 +01:00
ngMock fix(ngMock): fixes httpBackend expectation with body object 2013-11-21 22:57:15 -08:00
ngResource fix($resource): Always return a resource instance when calling class methods on resources. 2013-11-21 09:51:02 -08:00
ngRoute fix(ngView): Don't throw when the ngView element contains content with directives. 2013-11-21 22:20:11 -08:00
ngSanitize fix(ngSanitize): prefer textContent to innerText to avoid layout trashing 2013-12-03 14:45:30 -08: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 incompatible nodes on find() 2013-12-03 09:45:06 -08: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(loader): expose $$minErr to modules such asngResource 2013-11-21 22:51:26 -08:00
minErrSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00