()
| 30711 | processAsyncValidators(); |
| 30712 | |
| 30713 | function processParseErrors() { |
| 30714 | var errorKey = that.$$parserName; |
| 30715 | |
| 30716 | if (isUndefined(that.$$parserValid)) { |
| 30717 | setValidity(errorKey, null); |
| 30718 | } else { |
| 30719 | if (!that.$$parserValid) { |
| 30720 | forEach(that.$validators, function(v, name) { |
| 30721 | setValidity(name, null); |
| 30722 | }); |
| 30723 | forEach(that.$asyncValidators, function(v, name) { |
| 30724 | setValidity(name, null); |
| 30725 | }); |
| 30726 | } |
| 30727 | |
| 30728 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 30729 | setValidity(errorKey, that.$$parserValid); |
| 30730 | return that.$$parserValid; |
| 30731 | } |
| 30732 | return true; |
| 30733 | } |
| 30734 | |
| 30735 | function processSyncValidators() { |
| 30736 | var syncValidatorsValid = true; |
no test coverage detected