thedersen/backbone.validation — pull request #67 by jetheredge (2012-08-28 20:43:17+00:00)
Title: Update validate method so that valid callbacks are executed before invalid callbacks.

I was working with Backbone.Validation and Twitter Bootstrap. I had a group of controls under a single "control-group" container and when one field is invalid the container was marked as such, but then other fields that were valid would then remove the "error" class.

I was looking at the code, and it seems to me that the validations could be run with the valid fields first, then the invalid ones. In the cases where order doesn't matter, this shouldn't affect anything. In cases where order does matter, this change keeps the valid fields from potentially removing error classes.

Sorry for the unrequested pull, but I thought it was a pretty simple change.