Permalink
Commits on Jul 9, 2014
Commits on Mar 24, 2013
  1. Instead of constantly checking whether the delegate model is a differ…

    …ent model whenever its attributes change (to determine whether to stop proxying its events to the delegating model), only stop listening to delegate model on its destroy event.
    joshweinstein committed Mar 24, 2013
Commits on Mar 20, 2013
Commits on Feb 14, 2013
  1. Removed infrequently used subNameSpace support to simplify and optimi…

    …ze #associationNameIsNameOfHostModelsClass.
    joshweinstein committed Feb 14, 2013
  2. #setWithDelegates should only validate when asked to. Also added a li…

    …ttle caching to speed it up.
    joshweinstein committed Feb 14, 2013
Commits on Jan 29, 2013
Commits on Jan 16, 2013
  1. Reworked setting up of delegation removing unnecessary code paths and…

    … generally refactoring.
    joshweinstein committed Jan 16, 2013
Commits on Jan 15, 2013
  1. Setup delegation in #set after setting up associations so that there'…

    …s not a period during initialization where callbacks may set or get attributes on the newly instantiated model that should be delegated, but aren't yet.
    joshweinstein committed Jan 15, 2013
Commits on Dec 26, 2012
Commits on Oct 22, 2012
Commits on Oct 9, 2012
  1. When default values are specified for delegated attributes, remove th…

    …em from the delegating and set them on the delegate models.
    joshweinstein committed Oct 9, 2012
Commits on Sep 21, 2012
  1. Added 'modelClassName' option for disambiguating 'hasMany' associatio…

    …ns that use the same 'reverseKey'.
    joshweinstein committed Sep 21, 2012
Commits on Sep 20, 2012
  1. 'delegateMethods' accepts a function returning a hash for cases in wh…

    …ich you want to delegate programmatically or to augment an inherited set of delegated methods.
    joshweinstein committed Sep 20, 2012
Commits on Sep 18, 2012
Commits on Sep 16, 2012
Commits on Sep 13, 2012
  1. Added delegation methods.

    joshweinstein committed Sep 13, 2012
Commits on Aug 29, 2012
Commits on May 25, 2012
  1. Model#toJSON now calls collections' own #toJSON methods instead of ma…

    …pping over the #toJSON methods of their models.
    joshweinstein committed May 24, 2012
Commits on May 18, 2012
  1. Added an `as` option to allow users to specify the association name s…

    …eparately from the name of the model class to be used for the associated attribute. The model class is still specified as the argument to hasOne and hasMany.
    joshweinstein committed May 18, 2012
Commits on May 2, 2012
  1. Removed #includeInJSON. In practice, it's unwieldy. Simpler to write …

    …custom #toJSON methods for models that need them.
    joshweinstein committed May 2, 2012
Commits on Apr 27, 2012
  1. Confirm that associatedModels are instances of Backbone.AssociativeMo…

    …del (e.g., for case where server sends back just an ID for a model).
    joshweinstein committed Apr 27, 2012
Commits on Apr 10, 2012
  1. Added Backbone.AssociativeModel.defaultCollection for setting the col…

    …lection class to be used for HasMany collections.
    joshweinstein committed Apr 10, 2012
Commits on Feb 26, 2012
  1. hasManyThrough: only remove from associatedCollection when the 'throu…

    …ghModel' is in that collection
    joshweinstein committed Feb 26, 2012
Commits on Feb 25, 2012
Commits on Feb 24, 2012
  1. removed belongsToMany association type. also fixed test to ensure tha…

    …t collection and options are passed in add:associationKey events
    joshweinstein committed Feb 24, 2012
Commits on Feb 23, 2012
Commits on Feb 20, 2012
Commits on Feb 18, 2012
Commits on Feb 16, 2012
Commits on Feb 15, 2012
  1. woops

    joshweinstein committed Feb 15, 2012
  2. rename library file

    joshweinstein committed Feb 15, 2012