()
| 28239 | processAsyncValidators(); |
| 28240 | |
| 28241 | function processParseErrors() { |
| 28242 | var errorKey = ctrl.$$parserName || 'parse'; |
| 28243 | if (isUndefined(parserValid)) { |
| 28244 | setValidity(errorKey, null); |
| 28245 | } else { |
| 28246 | if (!parserValid) { |
| 28247 | forEach(ctrl.$validators, function(v, name) { |
| 28248 | setValidity(name, null); |
| 28249 | }); |
| 28250 | forEach(ctrl.$asyncValidators, function(v, name) { |
| 28251 | setValidity(name, null); |
| 28252 | }); |
| 28253 | } |
| 28254 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 28255 | setValidity(errorKey, parserValid); |
| 28256 | return parserValid; |
| 28257 | } |
| 28258 | return true; |
| 28259 | } |
| 28260 | |
| 28261 | function processSyncValidators() { |
| 28262 | var syncValidatorsValid = true; |
no test coverage detected