Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Commits on Jun 25, 2015
  1. Merge pull request #141 from allbinmani/master

    authored
    Added a package.json, so you can npm install Backbone.dualStorage
  2. @allbinmani
Commits on May 3, 2015
Commits on May 1, 2015
  1. Add contributing guidelines

    authored
    Closes #120
  2. Use CoffeeScript 1.9.2

    authored
Commits on Mar 2, 2015
  1. Merge pull request #136 from carljm/fix-bower-json

    authored
    Fix capitalization of main file in bower.json.
  2. @carljm
Commits on Feb 16, 2015
  1. Release version 1.4.0

    authored
Commits on Feb 13, 2015
  1. Merge pull request #133 from hippich/pk-model-tojson-2

    authored
    Fix accessing model attributes directly.
Commits on Feb 5, 2015
  1. @hippich
Commits on Feb 3, 2015
  1. Merge pull request #132 from hippich/pk-model-tojson

    authored
    Use model.toJSON() when available to retrieve model content
    
    Fixes #131
  2. @hippich
Commits on Jan 2, 2015
  1. Merge pull request #128 from luke83/patch-1

    authored
    Fix test comment
Commits on Jan 1, 2015
  1. @luke83

    Typo in example

    luke83 authored
    I think the example is about people, not cars. Maybe it was an old reference to old example code..
Commits on Aug 13, 2014
  1. Merge pull request #124 from rtibbles/master

    authored
    Expose original Backbone Sync to allow for customization of online sync method
  2. @rtibbles

    Changes from DualStorage.backboneSync to originalSync.

    rtibbles authored
    Updates changes.md
  3. @rtibbles

    Adds backboneSync object to DualStorage object to allow for

    rtibbles authored
    customization of BackboneSync behaviour for onlineSyncing.
Commits on Jul 15, 2014
  1. Use the appropriate callback when using offline storage

    authored
    Blanket success was incorrect. For example, when fetching and id that was never cached locally,
    the error callback should be used.
    
    Related: #94
Commits on Jul 8, 2014
  1. Merge branch 'uuid'

    authored
  2. Give credit for #117

    authored
  3. @almilli

    Update CHANGES.md

    almilli authored
  4. @almilli

    Changed temporary IDs so they don't conflict with the UUID spec so yo…

    almilli authored
    …u can use UUIDs as permanent IDs.
Commits on Jul 7, 2014
  1. Use a reliable source to get the xhr for checking the request status

    authored
    Backbone.sync only sent xhr as a 3rd argument in Backbone <= 0.9.9.
    With Backbone >= 1.0.0, every successful request would fail while
    checking the status, as of 863db19 (unreleased).
    
    - Update the Backbone.sync stub to reflect the change in Backbone 1.0.0.
    - Update the Backbone.sync stub to return xhr as Backbone.sync does.
    - Manually set options.xhr, since Backbone <= 0.9.9 did not set this.
    - Prepend _ to _status and _xhr parameters that are not passed in
      Backbone >= 0.9.9. These cannot be used by dualstorage as they do not
      work after 0.9.9 and are just passed along for compatibility with
      these older versions.
Commits on Jun 30, 2014
  1. Rename offlineStatusCodes parameter to xhr in the README

    authored
    This makes it clear that the xhr object is always passed, not the response body.
    
    Also add this option to the changelog.
Commits on Jun 24, 2014
  1. Allow Backbone.DualStorage.offlineStatusCodes to include 200 OK as an…

    authored
    … offline status
    
    - Rename error callback parameter to xhr, since that is really what it is
    - Update the mock ajax callback xhr argument to always include the http status and response
Commits on Jun 23, 2014
  1. Update changelog for #115

    authored
  2. Merge branch 'destroy-tempid'

    authored
    Closes #115
  3. @DatenMetzgerX

    Model with temp id should not be marked as destroyed

    DatenMetzgerX authored committed
    If a model with a temp id is destroyed, it should not be marked as
    destroyed. Because it has never been synced with the server.
  4. @DatenMetzgerX

    Invoke Callbacks when model with temp id is destroyed

    DatenMetzgerX authored committed
    When a model with a temp id is destroyed, then the success and error
    callbacks should be invoked too.
Commits on Jun 8, 2014
  1. Allow records to be created when offline and no store exists

    authored
    This bug was introduced in #94 and v1.3.1.
Commits on May 30, 2014
  1. Release version 1.3.1

    authored
    Closes #109
Commits on May 14, 2014
Something went wrong with that request. Please try again.