()
| 26187 | processAsyncValidators(); |
| 26188 | |
| 26189 | function processParseErrors() { |
| 26190 | var errorKey = ctrl.$$parserName || 'parse'; |
| 26191 | if (isUndefined(parserValid)) { |
| 26192 | setValidity(errorKey, null); |
| 26193 | } else { |
| 26194 | if (!parserValid) { |
| 26195 | forEach(ctrl.$validators, function(v, name) { |
| 26196 | setValidity(name, null); |
| 26197 | }); |
| 26198 | forEach(ctrl.$asyncValidators, function(v, name) { |
| 26199 | setValidity(name, null); |
| 26200 | }); |
| 26201 | } |
| 26202 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 26203 | setValidity(errorKey, parserValid); |
| 26204 | return parserValid; |
| 26205 | } |
| 26206 | return true; |
| 26207 | } |
| 26208 | |
| 26209 | function processSyncValidators() { |
| 26210 | var syncValidatorsValid = true; |
no test coverage detected