Permalink
Switch branches/tags
Nothing to show
Commits on Sep 28, 2012
  1. Merge pull request #7 from garbelini/master

    masylum committed Sep 28, 2012
    Subset.recalculate was stopping after the first change was applied.
Commits on Jul 11, 2012
Commits on Jun 25, 2012
Commits on May 13, 2012
  1. use backbone 0.5.3 by default

    masylum committed May 13, 2012
  2. bumped version to 0.1

    masylum committed May 13, 2012
  3. some document changes

    masylum committed May 13, 2012
  4. Merge remote-tracking branch 'slindberg/master'

    masylum committed May 13, 2012
      - Adds `parent` option
      - Adds `recalculate` method
      - Removes AMD require on underscore lib
    
    Conflicts:
    	backbone.subset.js
  5. bumped version

    masylum committed May 13, 2012
  6. missing semicolon

    masylum committed May 13, 2012
Commits on May 12, 2012
Commits on May 9, 2012
  1. Added silent flag to recalculate().

    Steven Lindberg committed May 9, 2012
  2. Merge remote-tracking branch 'masylum/master'

    Steven Lindberg committed May 9, 2012
    Also updated dependency versions.
    
    Conflicts:
    	backbone.subset.js
    	test/test.js
  3. Removed getValue() in favor of _.result() (now requires underscore 1.…

    Steven Lindberg committed May 9, 2012
    …3.3)
Commits on Mar 30, 2012
  1. Huge refactor on proxy reset events. Only bubble to collections that …

    masylum committed Mar 30, 2012
    …will receive any add or remove
Commits on Mar 14, 2012
  1. Added 'recalculate' function

    Steven Lindberg committed Mar 14, 2012
      recalculate() re-applies the sieve function to each model
      in the subset and updates as necessary. This is useful in
      situations where the sieve changes or depends on variables
      that have changed.
  2. Updated add/remove references to support backbone 0.9

    Steven Lindberg committed Mar 14, 2012
  3. Removed AMD require of underscore lib

    Steven Lindberg committed Mar 14, 2012
      Underscore is no longer AMD compatible and thus any implementations
      that use require() must deal with dependencies manually. This does
      not belong in master at the very least.
  4. Merged branch parent_per_instance

    Steven Lindberg committed Mar 14, 2012
        Made getter for parent collection more Backbone-esque.
    
        Allow setting parent for each instance of the subset collection.
    
        e.g.  new Collections.UrgentTasks([], {parent: tasks});
    
        This will override the #parent method defined on the class (if any)
        or fallback to it if no parent option is supplied to the constructor.
Commits on Feb 16, 2012
  1. malformed package.json

    masylum committed Feb 16, 2012
  2. added saimon as a contributor

    masylum committed Feb 16, 2012
  3. added saimon as a contributor

    masylum committed Feb 16, 2012
Commits on Feb 15, 2012
  1. Bump version 0.0.3

    saimonmoore committed Feb 15, 2012
    Added contributors
  2. Add 'no_reset' option to NOT do a reset on construction but rather in…

    saimonmoore committed Feb 15, 2012
    …itialize with existing parent models.
    
    i.e. it will ignore any models passed as args to the constructor and
    instead do an internal silent reset.
Commits on Feb 13, 2012
  1. Merge pull request #3 from masylum/dont_touch_parent

    masylum committed Feb 13, 2012
    When resetting parent (during a subset reset), don't remove the subset's models from the parent.
Commits on Feb 10, 2012
  1. When resetting parent (during a subset reset), don't remove the subse…

    saimonmoore committed Feb 10, 2012
    …t's models from the parent.
    
    The idea being that though these models may not belong to this
    particular subset any longer, they may still belong to another subset.
    The parent should always contain the superset of models.
    
    So when resetting the parent, we look for any models from the new set of
    models that are missing from the parent and include them.
    
    Additionally, when adding a model to a subset's own collection we try
    and look it up on the parent (so both collections reflect the same
    instance) and failing that we create a new model instance (if only
    attributes were added).
    
    Updated tests to reflect the multiple subset use case.
    
    Note: To avoid the parent's reset event from re-resetting the subset's
    collection, we mark the event with a 'subset_reset' option. We only act
    on proxied 'reset' events that don't have this marker. This has the
    additional benefit of not propagating the parent's (subset initiated) reset event to
    sibling subsets.
Commits on Feb 6, 2012
  1. lints, spaces and refactors

    masylum committed Feb 6, 2012
  2. propagate reset correctly

    masylum committed Feb 6, 2012
Commits on Feb 2, 2012
  1. Clean out lint

    saimonmoore committed Feb 2, 2012