guillaumepotier/Parsley.js — pull request #756 by chhib (2014-10-20 11:24:49+00:00)
Title: Can validate select with no options

Combining parsley.js with other libraries such as selectize.js, no selected options will result in an empty select. To not have the validator throw an error, this fix ensures that even if the value does not have the property `length`, things will run ok.