guillaumepotier / validator.js

Powerful objects and strings validation in javascript for Node and the browser
http://validatorjs.org
MIT License
255 stars 39 forks source link

Fix typo #17

Closed nunofgs closed 10 years ago

guillaumepotier commented 10 years ago

Great thx

nunofgs commented 10 years ago

Any chance you could tag a release with this fix?

guillaumepotier commented 10 years ago

If there is an impetuous need for a tag on this fix why not but that seems so small just to be tagged right now..

nunofgs commented 10 years ago

The issue we are having is that a new Assert().Collection().validate(123) is not throwing an actual Violation error, but an uncaught ReferenceError: array is not defined.