()
| 29642 | processAsyncValidators(); |
| 29643 | |
| 29644 | function processParseErrors() { |
| 29645 | var errorKey = that.$$parserName || 'parse'; |
| 29646 | if (isUndefined(that.$$parserValid)) { |
| 29647 | setValidity(errorKey, null); |
| 29648 | } else { |
| 29649 | if (!that.$$parserValid) { |
| 29650 | forEach(that.$validators, function(v, name) { |
| 29651 | setValidity(name, null); |
| 29652 | }); |
| 29653 | forEach(that.$asyncValidators, function(v, name) { |
| 29654 | setValidity(name, null); |
| 29655 | }); |
| 29656 | } |
| 29657 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 29658 | setValidity(errorKey, that.$$parserValid); |
| 29659 | return that.$$parserValid; |
| 29660 | } |
| 29661 | return true; |
| 29662 | } |
| 29663 | |
| 29664 | function processSyncValidators() { |
| 29665 | var syncValidatorsValid = true; |
no test coverage detected