lib/client/router-mixin.js
function render(view) {
	if(!_.isUndefined(this.currentView)) {
		this.currentView.close();
	}

	this.currentView = view;
	view.render();
}
function render(view) {
	if(!_.isUndefined(this.currentView)) {
		this.currentView.close();
	}

	this.currentView = view;
	view.render();
}
function render ( view ) { if ( ! _ . isUndefined ( this . currentView ) ) { this . currentView . close ( ) ; } this . currentView = view ; view . render ( ) ; }
Function: render
Calls the <Barefoot.View.Shared.render> method of the passed <Barefoot.View>.
If another view was rendered before, <Barefoot.View.Client.close> gets called
to properly remove that view from the DOM before rendering the new view.

Parameters:
(Barefoot.View) view - <Barefoot.View> to render into the DOM.

See also:
* <Barefoot.View.Client.close>
* <Barefoot.View.Shared.render>
Function : render Calls the <Barefoot . View . Shared . render > method of the passed <Barefoot . View > . If another view was rendered before <Barefoot . View . Client . close > gets called to properly remove that view from the DOM before rendering the new view .