It's now necessary to explicitly patch Backbone by calling
Backbone.BrowserStorage.patch(Backbone)
;
- Add support for IndexedDB via localForage.
- Use ES2015 features, bundle with webpack and compile with babel.
_clear
is now renamed toclear
- Pass along the
options
map. Otherwise events fire even though{silent: true}
was passed to theCollection.prototype.create
method.
- Don't return boolean on
update
andcreate
, otherwise themodel.changed
attribute isn't correctly populated when a model is saved.
- #1 Fix typo in main. Fixes webpack failing to load the module
- #2 Fix storage clearing problems
- Bugfix. undefined is not a function.
- Add the ability to also use the browser's sessionStorage instead of just localStorage.
- Fork from backbone.localStorage