whole_func_string: function render(view) {
  	if(!_.isUndefined(this.currentView)) {
  		this.currentView.close();
  	}
  
  	this.currentView = view;
  	view.render();
  }
func_code_string: function render(view) {
  	if(!_.isUndefined(this.currentView)) {
  		this.currentView.close();
  	}
  
  	this.currentView = view;
  	view.render();
  }
func_documentation_string: 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>