documentcloud/backbone — pull request #1445 by emorikawa (2012-06-23 21:30:49+00:00)
Title: isValid takes "options" param and passes through to validate

When checking whether or not a model isValid, it is sometimes necessary to check validation under a variety of contexts. Some validations may only be applicable in a certain context, and it's extremely useful to pass that context through in the options parameter.

All other validation workflows allow the passing of an options param. It seems like a logical extension to do the same thing for the isValid method.

Since the parameter is optional, no existing interfaces will break.