superfeedr/indexeddb-backbonejs-adapter

`fetch()` fails with Backbone 0.9.9 after fix for BBJS issue #2003

Closed this issue · 1 comments

collection.fetch() fails with the error: "Uncaught TypeError: Cannot read property 'update' of undefined" when using Backbone 0.9.9 after the commit that fixed this BBJS issue:

jashkenas/backbone#2003

Here's the commit that breaks things:

jashkenas/backbone@320347d

Here's the relevant code from bbjs:

options.success = function(collection, resp, options) {
                var method = options.update ? 'update' : 'reset';