(parseValid)
| 20661 | processAsyncValidators(); |
| 20662 | |
| 20663 | function processParseErrors(parseValid) { |
| 20664 | var errorKey = ctrl.$$parserName || 'parse'; |
| 20665 | if (parseValid === undefined) { |
| 20666 | setValidity(errorKey, null); |
| 20667 | } else { |
| 20668 | setValidity(errorKey, parseValid); |
| 20669 | if (!parseValid) { |
| 20670 | forEach(ctrl.$validators, function(v, name) { |
| 20671 | setValidity(name, null); |
| 20672 | }); |
| 20673 | forEach(ctrl.$asyncValidators, function(v, name) { |
| 20674 | setValidity(name, null); |
| 20675 | }); |
| 20676 | return false; |
| 20677 | } |
| 20678 | } |
| 20679 | return true; |
| 20680 | } |
| 20681 | |
| 20682 | function processSyncValidators() { |
| 20683 | var syncValidatorsValid = true; |
no test coverage detected