Permalink
Commits on Jan 11, 2011
  1. Added the basic validation implementation to Backbone.Model

    - added new Backbone.Model.validations property to declare the applicable validation rules
    - added default Backbone.Model.validate() function to inspect these rules and apply them, returning the errors on each attribute
    - added Backbone.Model.isValid() function to validate on demand
    - added Backbone.Model.errors() function to get errors on the base object
    Harry Brundage committed Jan 9, 2011
Commits on Jan 5, 2011
  1. Fixing a small bug in model inheritance: Class properties need to be …

    …inherited (along with the instance properties). See test.
    samuelclay committed Jan 5, 2011
Commits on Jan 3, 2011
Commits on Dec 30, 2010
Commits on Dec 23, 2010
Commits on Dec 21, 2010
  1. prefer single quotes.

    jashkenas committed Dec 21, 2010
Commits on Dec 20, 2010
Commits on Dec 17, 2010
  1. Pass Collection#fetch options along to refresh

    Matches the behavior of Model#fetch
    josh committed Dec 17, 2010
Commits on Dec 13, 2010
  1. Issue #78. Changes the Backbone.sync API to enable passing through of…

    … options ... like {data} in fetch()
    jashkenas committed Dec 13, 2010
Commits on Dec 12, 2010
Commits on Dec 10, 2010
Commits on Dec 8, 2010