()
| 25731 | processAsyncValidators(); |
| 25732 | |
| 25733 | function processParseErrors() { |
| 25734 | var errorKey = ctrl.$$parserName || 'parse'; |
| 25735 | if (isUndefined(parserValid)) { |
| 25736 | setValidity(errorKey, null); |
| 25737 | } else { |
| 25738 | if (!parserValid) { |
| 25739 | forEach(ctrl.$validators, function(v, name) { |
| 25740 | setValidity(name, null); |
| 25741 | }); |
| 25742 | forEach(ctrl.$asyncValidators, function(v, name) { |
| 25743 | setValidity(name, null); |
| 25744 | }); |
| 25745 | } |
| 25746 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 25747 | setValidity(errorKey, parserValid); |
| 25748 | return parserValid; |
| 25749 | } |
| 25750 | return true; |
| 25751 | } |
| 25752 | |
| 25753 | function processSyncValidators() { |
| 25754 | var syncValidatorsValid = true; |
no test coverage detected