torso-bundle.js
function() {
      _.each(this.modelsToRender(), function(model) {
        var itemView = this.getItemViewFromModel(model);
        if (itemView) {
          itemView.delegateEvents();
          if (!itemView.__attachedCallbackInvoked && itemView.isAttached()) {
            itemView.__invokeAttached();
          }
          itemView.activate();
        } else {
          // Shouldn't get here. Item view is missing...
        }
      }, this);
    }
function() {
      _.each(this.modelsToRender(), function(model) {
        var itemView = this.getItemViewFromModel(model);
        if (itemView) {
          itemView.delegateEvents();
          if (!itemView.__attachedCallbackInvoked && itemView.isAttached()) {
            itemView.__invokeAttached();
          }
          itemView.activate();
        } else {
          // Shouldn't get here. Item view is missing...
        }
      }, this);
    }
function ( ) { _ . each ( this . modelsToRender ( ) , function ( model ) { var itemView = this . getItemViewFromModel ( model ) ; if ( itemView ) { itemView . delegateEvents ( ) ; if ( ! itemView . __attachedCallbackInvoked && itemView . isAttached ( ) ) { itemView . __invokeAttached ( ) ; } itemView . activate ( ) ; } else { // Shouldn't get here. Item view is missing... } } , this ) ; }
Completes each item view's lifecycle of being attached to a parent.
Because the item views are attached in a non-standard way, it's important to make sure
that the item views are in the appropriate state after being attached as one fragment.
@method __cleanupItemViewsAfterAttachedToParent
@private
Completes each item view s lifecycle of being attached to a parent . Because the item views are attached in a non - standard way it s important to make sure that the item views are in the appropriate state after being attached as one fragment .