lib/client/view-mixin.js
function close() {
	this.undelegateEvents();

	if(!_.isUndefined(this.subviews)) {
		_.each(this.subviews, function(subview) {
			subview.close();
		});
	}

	this.$el.empty();
	this.unbind();
}
function close() {
	this.undelegateEvents();

	if(!_.isUndefined(this.subviews)) {
		_.each(this.subviews, function(subview) {
			subview.close();
		});
	}

	this.$el.empty();
	this.unbind();
}
function close ( ) { this . undelegateEvents ( ) ; if ( ! _ . isUndefined ( this . subviews ) ) { _ . each ( this . subviews , function ( subview ) { subview . close ( ) ; } ) ; } this . $el . empty ( ) ; this . unbind ( ) ; }
Function: close
Removes a view from the DOM and ensures that all events of the view itself
and its subviews are removed too. Kill aaaaall the zombies, aarrrrrr.

See also:
* <Barefoot.Router.Client.render>
Function : close Removes a view from the DOM and ensures that all events of the view itself and its subviews are removed too . Kill aaaaall the zombies aarrrrrr .