HenrikJoreteg / Happy.js

$('form').isHappy() – Lightweight, extensible form validation plugin for jQuery/Zepto.js
http://projects.joreteg.com/Happy.js/
MIT License
412 stars 123 forks source link

Added posibility to make multiple tests on single field #18

Closed mrbox closed 10 years ago

wraithgar commented 10 years ago

The idea of being able to run multiple tests on a field is a good one, however this PR includes code beyond that scope and also reformats the file, making the diff impossible to audit. There are also no tests on the new behavior.

I'm gonna close this PR and open an issue to hash out what multiple tests should look like (maybe the solution is in happy.methods.js instead?)