leepowelldev / mongoose-validator

Validators for mongoose models utilising validator.js
MIT License
379 stars 43 forks source link

Fixed notEmpty and some cleanup #4

Closed tjmehta closed 11 years ago

tjmehta commented 11 years ago

Fixed notEmpty: Removed "if(isEmpty(val)) return true;" from notEmpty.

Cleanup: Mixed tabs and spaces to spaces. Missing commas and added semicolons.

leepowelldev commented 11 years ago

This has been merged and pushed into 0.1.4 - thanks