javascript - Backbone.js able to do rest and localstorage? - Stack Overflow: "As mentioned in the comments, if you use the latest backbone localStorage plugin then you can do the following
Backbone.sync = function Sync() {
Backbone.ajaxSync.apply(this, arguments);
return Backbone.localSync.apply(this, arguments);
};"
'via Blog this'