Skip to content

Commit

Permalink
chore: update ag-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassus committed Oct 23, 2014
1 parent 3150263 commit 7551b5b
Showing 1 changed file with 2 additions and 5 deletions.
Expand Up @@ -156,13 +156,10 @@
return scope.$watch(viewValue, function() {
var model;
model = form[name];
if (model == null) {
return;
}
if (model.$invalid) {
if (model != null ? model.$invalid : void 0) {
form.$setError(name, errorsFor(model));
}
if (model.$valid) {
if (model != null ? model.$valid : void 0) {
return form.$setError(name, "");
}
});
Expand Down

0 comments on commit 7551b5b

Please sign in to comment.