batmanjs/batman — pull request #1058 by rmosolgo (2014-06-11 19:05:24+00:00)
Title: Validation if/unless should handle multiple keys

When `if`/`unless` were evaluated such that the validation was skipped, the remaining validation count was decreased by `1` , not the number of keys on that validator. This would leave the validation operation unfinished forever :disappointed:

So, allow passing more than `1` to decrease the remaining validation counter.