tbranyen/backbone.layoutmanager — Issue #13: clearing events and removing the view on layout swap
Author: tbranyen
Created: 2011-11-30 17:06:51+00:00
State: open

``` javascript
var SomeView = Backbone.LayoutManager.View.extend({
cleanup: function() {
this.unbind("someEvent");
},

initialize: function() {
this.bind("someEvent");
}
});
```