Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- I needed a way to clear out a model and all of it's children, and its children's children. I simply extended `ampersand-model` and overrode its `clear` method to do so. Now I just create all my models from it to ensure they get `clear`ed all the way down.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement