backbone.memento
backbone.memento copied to clipboard
store and restore your model's state
Hi Derick, Could you please shim this lib for AMD, please? The problem is that Backbone has recently gone AMD. This is causing single-file builds via the RequireJS optimizer to...
Hi, This PR adds the `keepState` option for the `.restore()` call. When you call `.restore()`, the default behaviour is pretty much the same as an "undo" feature. If I call...
In my application when a user changes their password we ask them for their current password and the new password. When the user first enters this modal window I call...
hi, is there an good way to have sub models or collections of a model which uses memento have restored aswell? the default is that only its own direct attributes...
I am rather new to Backbone and Backbone.Memento and perhaps there is a better way to do what I want to do. I am writing a view that binds to...
Using this method you can "consolide" the changes that you made in your model and avoid lose data with previous "restore" or "restart" calls. Signed-off-by: Jesús Merino Parra [email protected]
We're using Memento in combination with Stickit to drive our forms. In this particular case, we have a collection, which allows editing of a single model at a time. When...
I've set up this library as an NPM package: https://github.com/stayradiated/backbone.memento Changelog: - Create package.json - Use mocha and chai for tests (instead of Jasmine) - Use gulp and uglify to...
I'm using another Backbone.js plugin which provides an extension of the Backbone.Model class. As a result, ``` JavaScript structure instanceof Backbone.Model ``` is returning false. Which subsequently results in an...