documentcloud/backbone — pull request #1796 by FrenkyNet (2012-11-02 17:45:02+00:00)
Title: Validation method renaming.

Renamed the unimplemented method `validate` to `validator` and renamed `_validate` to `validate`. This has a couple of benefits:

- The name "validator" is more in line with what it actually is.
- The name "validator" is more in line with the other methods like `comparator` and the iterators in underscore.js.
- Makes is possible to actually call the validate method and get results.
- Makes is possible to validate data in context of the model without setting it.