PortableSheep / Pliant

A jQuery validation plugin that allows easy extending/overriding of rules, as well as defining field validation by html comments.
http://portablesheep.github.com/Pliant/
Other
6 stars 3 forks source link

Change rule chaining to accept a single rule name string, and an array. #2

Closed PortableSheep closed 12 years ago

PortableSheep commented 12 years ago

Currently the rule chaining accepts an array of strings. This should be changed to also accept a single rule name string, for the sake of brevity when only one rule is needed in the chain.