lib/views/base/index.js
function () {

    // if rendered, then just return the fragment
    if (this._rendered) {
      return this.section.render();
    }

    this._rendered = true;

    if (this._cleanupJanitor) {
      this._cleanupJanitor.dispose();
    }

    if (!this.section) {
      this._createSection();
    }

    this.willRender();
    this.emit("render");

    var fragment = this.section.render();

    this.didRender();
    this._updateVisibility();

    return fragment;
  }
function () {

    // if rendered, then just return the fragment
    if (this._rendered) {
      return this.section.render();
    }

    this._rendered = true;

    if (this._cleanupJanitor) {
      this._cleanupJanitor.dispose();
    }

    if (!this.section) {
      this._createSection();
    }

    this.willRender();
    this.emit("render");

    var fragment = this.section.render();

    this.didRender();
    this._updateVisibility();

    return fragment;
  }
function ( ) { // if rendered, then just return the fragment if ( this . _rendered ) { return this . section . render ( ) ; } this . _rendered = true ; if ( this . _cleanupJanitor ) { this . _cleanupJanitor . dispose ( ) ; } if ( ! this . section ) { this . _createSection ( ) ; } this . willRender ( ) ; this . emit ( "render" ) ; var fragment = this . section . render ( ) ; this . didRender ( ) ; this . _updateVisibility ( ) ; return fragment ; }
Renders the view
@method render
@return {Object} document fragment
Renders the view