MCPcopy Index your code
hub / github.com/angular-ui/ui-grid / processSyncValidators

Function processSyncValidators

lib/test/angular/1.6.7/angular.js:29154–29168  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29152 }
29153
29154 function processSyncValidators() {
29155 var syncValidatorsValid = true;
29156 forEach(that.$validators, function(validator, name) {
29157 var result = Boolean(validator(modelValue, viewValue));
29158 syncValidatorsValid = syncValidatorsValid && result;
29159 setValidity(name, result);
29160 });
29161 if (!syncValidatorsValid) {
29162 forEach(that.$asyncValidators, function(v, name) {
29163 setValidity(name, null);
29164 });
29165 return false;
29166 }
29167 return true;
29168 }
29169
29170 function processAsyncValidators() {
29171 var validatorPromises = [];

Callers 1

angular.jsFile · 0.70

Calls 2

forEachFunction · 0.70
setValidityFunction · 0.70

Tested by

no test coverage detected