MCPcopy Create free account
hub / github.com/binux/qiandao / emailValidator

Function emailValidator

web/static/components/angularjs/angular.js:17135–17137  ·  view source on GitHub ↗
(value)

Source from the content-addressed store, hash-verified

17133 textInputType(scope, element, attr, ctrl, $sniffer, $browser);
17134
17135 var emailValidator = function(value) {
17136 return validate(ctrl, 'email', ctrl.$isEmpty(value) || EMAIL_REGEXP.test(value), value);
17137 };
17138
17139 ctrl.$formatters.push(emailValidator);
17140 ctrl.$parsers.push(emailValidator);

Callers

nothing calls this directly

Calls 1

validateFunction · 0.85

Tested by

no test coverage detected