()
| 30646 | processAsyncValidators(); |
| 30647 | |
| 30648 | function processParseErrors() { |
| 30649 | var errorKey = that.$$parserName; |
| 30650 | |
| 30651 | if (isUndefined(that.$$parserValid)) { |
| 30652 | setValidity(errorKey, null); |
| 30653 | } else { |
| 30654 | if (!that.$$parserValid) { |
| 30655 | forEach(that.$validators, function(v, name) { |
| 30656 | setValidity(name, null); |
| 30657 | }); |
| 30658 | forEach(that.$asyncValidators, function(v, name) { |
| 30659 | setValidity(name, null); |
| 30660 | }); |
| 30661 | } |
| 30662 | |
| 30663 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 30664 | setValidity(errorKey, that.$$parserValid); |
| 30665 | return that.$$parserValid; |
| 30666 | } |
| 30667 | return true; |
| 30668 | } |
| 30669 | |
| 30670 | function processSyncValidators() { |
| 30671 | var syncValidatorsValid = true; |
no test coverage detected