Use error method when no local store exists after remote read fails #91 #94

Merged
merged 12 commits into from May 14, 2014
Commits on May 10, 2014
  1. Merge branch 'options.dirty' from eladxxx

    committed May 10, 2014
    Closes #105
  2. Release version 1.3.0

    committed May 10, 2014
  3. Update Changelog for #99

    committed May 10, 2014
  4. Use _.result instead of reimplementing it

    committed May 10, 2014
    Fixes #107
  5. Test against backbone-1.1.2

    committed May 10, 2014
  6. Fix syncDestroyed with custom idAttribute and backbone >= 1.1.1

    committed May 10, 2014
    syncDestroyed did not set the idAttribute attribute and only set
    model.id. This worked in earlier versions of backbone, but it does not
    as of 1.1.1. isNew now checks for @has(@idAttribute) instead of
    model.id, as of
    jashkenas/backbone@11cc0e8.
    
    Also, to avoid idAttribute issues in the future, stop setting model.id
    anywhere. Instead, just set the idAttribute attribute, and let backbone
    set model.id.
Commits on May 12, 2014
  1. use error method when read fails

    davetayls committed Mar 3, 2014
    check for null in Store.exists
  2. fixes when server errors with offline code and there is no local stor…

    davetayls committed May 12, 2014
    …e found