()
| 29749 | processAsyncValidators(); |
| 29750 | |
| 29751 | function processParseErrors() { |
| 29752 | var errorKey = that.$$parserName; |
| 29753 | |
| 29754 | if (isUndefined(that.$$parserValid)) { |
| 29755 | setValidity(errorKey, null); |
| 29756 | } else { |
| 29757 | if (!that.$$parserValid) { |
| 29758 | forEach(that.$validators, function(v, name) { |
| 29759 | setValidity(name, null); |
| 29760 | }); |
| 29761 | forEach(that.$asyncValidators, function(v, name) { |
| 29762 | setValidity(name, null); |
| 29763 | }); |
| 29764 | } |
| 29765 | |
| 29766 | // Set the parse error last, to prevent unsetting it, should a $validators key == parserName |
| 29767 | setValidity(errorKey, that.$$parserValid); |
| 29768 | return that.$$parserValid; |
| 29769 | } |
| 29770 | return true; |
| 29771 | } |
| 29772 | |
| 29773 | function processSyncValidators() { |
| 29774 | var syncValidatorsValid = true; |
no test coverage detected