(unsafe)
| 362 | // catch DOM XSS via taSanitize |
| 363 | // Sanitizing both ways is identical |
| 364 | var _sanitize = function(unsafe){ |
| 365 | return (ngModel.$oldViewValue = taSanitize(taFixChrome(unsafe, _keepStyles), ngModel.$oldViewValue, _disableSanitizer)); |
| 366 | }; |
| 367 | |
| 368 | // trigger the validation calls |
| 369 | if(element.attr('required')) ngModel.$validators.required = function(modelValue, viewValue) { |
nothing calls this directly
no test coverage detected