()
| 24890 | processAsyncValidators(); |
| 24891 | |
| 24892 | function processParseErrors() { |
| 24893 | var errorKey = ctrl.$$parserName || 'parse'; |
| 24894 | if (parserValid === undefined) { |
| 24895 | setValidity(errorKey, null); |
| 24896 | } else { |
| 24897 | if (!parserValid) { |
| 24898 | forEach(ctrl.$validators, function(v, name) { |
| 24899 | setValidity(name, null); |
| 24900 | }); |
| 24901 | forEach(ctrl.$asyncValidators, function(v, name) { |
| 24902 | setValidity(name, null); |
| 24903 | }); |
| 24904 | } |
| 24905 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 24906 | setValidity(errorKey, parserValid); |
| 24907 | return parserValid; |
| 24908 | } |
| 24909 | return true; |
| 24910 | } |
| 24911 | |
| 24912 | function processSyncValidators() { |
| 24913 | var syncValidatorsValid = true; |
no test coverage detected