Skip to content

Commit

Permalink
fixed little bug on validator
Browse files Browse the repository at this point in the history
  • Loading branch information
masylum committed Nov 4, 2010
1 parent 8f470f5 commit 87c4b7c
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/validator.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ module.exports = function (model, data) {
}; };


validator.hasError = function (name) { validator.hasError = function (name) {
var error_bucket = this.getErrorBucket(name);

return this.hasErrors() && this.getErrorBucket(name, false) !== null; return this.hasErrors() && this.getErrorBucket(name, false) !== null;
}; };


Expand Down

0 comments on commit 87c4b7c

Please sign in to comment.