shared/base/view.js
function(callback) {
    var _baseView = this;

    // Remove all child views in case we are re-rendering through
    // manual .render() or 'refresh' being triggered on the view.
    this.removeChildViews();
    BaseView.getChildViews(this.app, this, function(views) {
      _baseView.childViews = views;
      callback.call(_baseView);
    });
  }
function(callback) {
    var _baseView = this;

    // Remove all child views in case we are re-rendering through
    // manual .render() or 'refresh' being triggered on the view.
    this.removeChildViews();
    BaseView.getChildViews(this.app, this, function(views) {
      _baseView.childViews = views;
      callback.call(_baseView);
    });
  }
function ( callback ) { var _baseView = this ; // Remove all child views in case we are re-rendering through // manual .render() or 'refresh' being triggered on the view. this . removeChildViews ( ) ; BaseView . getChildViews ( this . app , this , function ( views ) { _baseView . childViews = views ; callback . call ( _baseView ) ; } ) ; }
Happens client-side.
Find all of sub view DOM elements
Get the view key
Call this.getView()
Attach childView
Happens client - side . Find all of sub view DOM elements Get the view key Call this . getView () Attach childView