angular.js/test/ng
Daniel Tabuenca b6d5439343 fix(input): ensure ngModelWatch() triggers second digest pass when appropriate
Due to an earlier change, ngModelWatch() no longer returns a value to the
caller. This means the digest loop has no way to tell if the watch actually
modified anything and so can not schedule another pass.

This means any watches that watch form or model controller changes
(e.g. watches on form.$valid) that are scheduled prior to an ngModelWatch()
will not be able to see any changes made therin.

This commit fixes this behavior by returning the latest evaluated ng-model
value.

Closes #5258
Closes #5282
2013-12-04 22:49:11 -08:00
..
directive fix(input): ensure ngModelWatch() triggers second digest pass when appropriate 2013-12-04 22:49:11 -08:00
filter test(filters): fix timezone-dependent test 2013-10-09 10:18:51 -07:00
anchorScrollSpec.js fix($sniffer): report history false on Android < 4 2012-05-14 15:12:51 -07:00
animateSpec.js fix(jqLite): use get/setAttribute so that jqLite works on SVG nodes 2013-09-27 12:38:27 -07:00
browserSpecs.js fix($location): prevent infinite digest error in IE7 2013-10-02 15:33:31 -07:00
cacheFactorySpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
compileSpec.js fix($compile): ensure isolated local watches' lastValue is always in sync 2013-12-04 09:45:20 -08:00
controllerSpec.js fix(*): protect calls to hasOwnProperty in public API 2013-10-07 09:01:13 -07:00
documentSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
exceptionHandlerSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
filterSpec.js feat(filter): allow map of filters to be registered 2013-10-01 10:26:36 +01:00
httpBackendSpec.js chore($httpBackend): preserve original non-zero http status code for file:// apps 2013-11-26 12:36:41 -08:00
httpSpec.js fix($http): allow empty responses to be cached 2013-09-02 11:47:51 +02:00
interpolateSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
intervalSpec.js feat($interval): add a service wrapping setInterval 2013-10-07 13:45:40 -07:00
localeSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00
locationSpec.js refactor($location): move file://+win path fix to $location 2013-11-26 18:31:27 -08:00
logSpec.js fix(log): prevent logging undefined for $log in IE 2013-09-27 16:44:21 -07:00
parseSpec.js fix($parse): allow for new lines in expr when promise unwrapping is on 2013-11-22 00:19:08 -08:00
qSpec.js style($qSpec): add semi-colons 2013-10-02 14:12:35 +01:00
rootElementSpec.js feat($rootElement): added application root element 2012-06-02 14:50:58 -07:00
rootScopeSpec.js fix($rootScope): broadcast $destroy event on $rootScope 2013-12-04 15:29:19 -08:00
sanitizeUriSpec.js fix($sanitize): Use same whitelist mechanism as $compile does. 2013-11-26 14:29:38 -08:00
sceSpecs.js refactor($sce): Use $sniffer instead of $document for feature detection. 2013-11-20 23:12:39 +00:00
snifferSpec.js fix(tests): Correct tests for IE11 2013-11-21 21:53:09 -08:00
timeoutSpec.js feat($interval): add a service wrapping setInterval 2013-10-07 13:45:40 -07:00
urlUtilsSpec.js refactor($location): move file://+win path fix to $location 2013-11-26 18:31:27 -08:00
windowSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00