angular.js/test/ng/directive
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
..
aSpec.js fix(a): workaround IE bug affecting mailto urls 2013-02-14 16:42:58 -08:00
booleanAttrsSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
formSpec.js fix(ngModel): deregister from the form on scope not DOM destruction 2013-11-04 10:35:51 -08:00
inputSpec.js fix(input): ensure ngModelWatch() triggers second digest pass when appropriate 2013-12-04 22:49:11 -08:00
ngBindSpec.js fix(ng-bind-html): watch string value instead of wrapper 2013-09-20 16:30:20 -07:00
ngClassSpec.js fix(ngAnimate): ensure animations are disabled upon bootstrap for structrual animations 2013-11-25 15:00:50 -05:00
ngClickSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngCloakSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngControllerSpec.js fix(ngController): fix issue with ngInclude on the same element 2013-11-21 09:52:34 -08:00
ngEventDirsSpec.js fix(ngSubmit): expose $event to ngSubmit callback 2013-07-11 17:24:30 -07:00
ngIfSpec.js fix($compile): accessing controllers of transcluded directives from children 2013-11-14 20:59:50 -08:00
ngIncludeSpec.js fix(ngInclude): Don't throw when the ngInclude element contains content with directives. 2013-11-21 22:20:11 -08:00
ngInitSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngKeySpec.js feat(directive): ng:focus, ng:blur 2013-07-18 19:24:42 +02:00
ngNonBindableSpec.js test(ng-non-bindable): test sibling bindings 2013-09-20 23:55:23 -07:00
ngPluralizeSpec.js feat(ngPluralize): add alternative mapping using attributes 2013-07-14 16:36:15 +02:00
ngRepeatSpec.js fix($compile): accessing controllers of transcluded directives from children 2013-11-14 20:59:50 -08:00
ngShowHideSpec.js chore(ngMock): rename $animate.process to $animate.flushNext() 2013-08-02 23:52:37 -07:00
ngSrcsetSpec.js feat(ngSrcset): add new ngSrcset directive 2013-05-14 21:29:21 +01:00
ngSrcSpec.js feat(minerr): log minerr doc url in development 2013-08-15 13:23:18 -07:00
ngStyleSpec.js chore(tests): rename all directive names to the normalized form 2012-04-09 11:48:54 -07:00
ngSwitchSpec.js chore(ngMock): rename $animate.process to $animate.flushNext() 2013-08-02 23:52:37 -07:00
scriptSpec.js fix(script): Incorrectly reading script text on ie 2012-04-20 11:29:34 -07:00
selectSpec.js fix(input): false is no longer an empty value by default 2013-10-07 16:47:51 -07:00
styleSpec.js chore(module): move files around in preparation for more modules 2012-03-28 11:16:35 -07:00