Permalink
Commits on Apr 18, 2012
Commits on Apr 11, 2012
  1. Refactor some repeated code into 'Backbone.Store.resolveIdForItem'; a…

    PaulUithol committed Apr 11, 2012
    …ccept collections that are passed straight into 'attributes' as relations when creating a new model. Fixes #96.
Commits on Apr 6, 2012
  1. Small fixes to the readme

    PaulUithol committed Apr 6, 2012
  2. Merge pull request #102 from DouweM/keydestination

    PaulUithol committed Apr 6, 2012
    Add `keyDestination` option to complement `keySource`
  3. Merge pull request #92 from ulmus/master

    PaulUithol committed Apr 6, 2012
    Adding a collectionOptionsCallback for being able to generate options for created collections
Commits on Apr 4, 2012
  1. Add `keyDestination` option.

    DouweM committed Apr 4, 2012
Commits on Apr 3, 2012
Commits on Apr 2, 2012
  1. Do reset a HasMany's collection when the relation gets 'set' with som…

    PaulUithol committed Apr 2, 2012
    …ething that isn't a Collection. Regression from #90; fixes #100.
Commits on Mar 27, 2012
  1. Merge pull request #94 from pgherveou/master

    PaulUithol committed Mar 27, 2012
    do not create collectionKey attribute if reverse relation was not defined
Commits on Mar 26, 2012
Commits on Mar 25, 2012
  1. Merge pull request #93 from andris-silis/master

    PaulUithol committed Mar 25, 2012
    fixed bug in Backbone.Model.change() override; wrong `arguments` due to anonymous closure.
Commits on Mar 23, 2012
  1. Merge branch 'master' of github.com:andris-silis/Backbone-relational

    andris-silis committed Mar 23, 2012
    Conflicts:
    	backbone-relational.js
  2. added .DS_Store to .gitignore

    ulmus committed Mar 23, 2012
Commits on Mar 21, 2012
  1. Added collectionOptionsCallback option on ToMany options

    ulmus committed Mar 21, 2012
    A Callback for providing options to new initialized collections at the
    Many-end of a ToMany-relationships
Commits on Mar 19, 2012
  1. Optimize addition of models to a `HasMany` so `Backbone.Collection.ad…

    PaulUithol committed Mar 19, 2012
    …d`'s logic (like calling `sort`) is only invoked once per call to `findRelated`.
  2. Fix `silent: true` behavior when initializing models; silence the `re…

    PaulUithol committed Mar 19, 2012
    …set` event when initializing a collection. Partial(?) fix for #48
Commits on Mar 16, 2012
  1. Use `model.parse` if available in the override for `Backbone.Collecti…

    PaulUithol committed Mar 16, 2012
    …on.prototype.add`. Fixes #81.
Commits on Mar 12, 2012
  1. Update jQuery to 1.7.1

    PaulUithol committed Mar 12, 2012
Commits on Feb 29, 2012
  1. Only call 'unset' when initializing a relation when 'keySource' is in…

    PaulUithol committed Feb 29, 2012
    …deed different from 'key'.
Commits on Feb 27, 2012
  1. Alias original `add`, `remove` and `_reset` with two underscores on B…

    PaulUithol committed Feb 27, 2012
    …ackbone.Collection before overriding them, so they can still be accessed.
  2. Merge pull request #82 from quasiyoke/master

    PaulUithol committed Feb 27, 2012
    Warning message bug fixed