Permalink
Commits on Mar 6, 2013
Commits on Mar 5, 2013
  1. Backbone-relational 0.8.0

    PaulUithol committed Mar 5, 2013
Commits on Mar 4, 2013
  1. Various `fetchRelated` fixes.

    PaulUithol committed Mar 4, 2013
    - don't destroy previously existing models on an error
    - if a model on a relation has been removed, don't add it back in
Commits on Mar 3, 2013
  1. Add a `parse` option to `findOrCreate` which defaults to `false`,

    PaulUithol committed Mar 3, 2013
    getting in line with `Backbone.Model`.
    
    Fixes the "`parse` should only get called on top-level objects" test. Ref #276.
  2. Pass options into relations that are being created for a new model.

    PaulUithol committed Mar 3, 2013
    This fixes options being ignored in some cases; see the test
    "`merge` on a nested relation" for an example. Ref #276.
Commits on Mar 2, 2013
Commits on Mar 1, 2013
Commits on Feb 28, 2013
  1. General simplification and performance improvements (about 50% off!).

    PaulUithol committed Feb 28, 2013
    Ref #231, #194.
    
    - Relations bind events using `listenTo` (allowing a catch-all `stopListening`)
    - removed `_relatedModelAdded` and `_relatedModelRemoved`
    - simplified `tryAddRelated`
Commits on Feb 27, 2013
  1. Merge pull request #277 from ClemensSchneider/keyIds_should_not_conta…

    PaulUithol committed Feb 27, 2013
    …in_null_entries
    
    keyIds should not contain null-entries
  2. Merge pull request #280 from ClemensSchneider/toJSON_fix

    PaulUithol committed Feb 27, 2013
    Fixed bug with `valueSub` in `toJSON` introduced by 963296f
  3. fixed bug introduced with 963296f

    Clemens-PANDA committed Feb 27, 2013
    - valueSub has to be an array for Collections and object for Models
Commits on Feb 26, 2013
Commits on Feb 25, 2013
  1. keyIds should not contain null-entries

    Clemens-PANDA committed Feb 25, 2013
    - this is especially relevant when new models with null-ids are matched
    against keyIds and a false-match (null === null) is found
Commits on Feb 24, 2013
  1. Only modify `this.related` through `setRelated`; restore an accidenta…

    PaulUithol committed Feb 24, 2013
    …lly commented-out test.