Open mbrio opened 12 years ago
I'm currently in the middle of this, it seems as though the original localStorage Backbone plugin had a bit of bugs that were driving me nuts. Oddly enough the localStorage backbone plugin that is in the Backbone.js GitHub repository is broken(?); I ended up using the plugin from this URL: https://github.com/k33g/ossicle/blob/master/js/backbone.sync/backbone-sync-localstorage.js which seems to work. I have it working in my specs but I have not converted the main project to work in this way.
Since I was unable to figure out how to use Backbone.sync with the localStorage plugin I created my own means of saving the cache to localStorage. I'd like to figure out how to properly use Backbone.sync with my models.