Permalink
Browse files

fixed little bug on validator

  • Loading branch information...
1 parent 8f470f5 commit 87c4b7c02c2de40b184731d7a280c72b34ff6d37 @masylum masylum committed Nov 4, 2010
Showing with 0 additions and 2 deletions.
  1. +0 −2 lib/validator.js
View
@@ -61,8 +61,6 @@ module.exports = function (model, data) {
};
validator.hasError = function (name) {
- var error_bucket = this.getErrorBucket(name);
-
return this.hasErrors() && this.getErrorBucket(name, false) !== null;
};

0 comments on commit 87c4b7c

Please sign in to comment.