Local storage fallback and middleware
Pre-release
Pre-release
Store now support local storage fallback
store.local('mystore'); //reset with localstorage
...
store.local('mystore', true); //save in localstorage
and can be extended through its middleware engine.
store.use(function(obj) {
obj.save = function(){
//save in server
};
});