torso-bundle.js
function(model, noUpdateToIdList) {
      var itemView,
        ItemViewClass = this.itemView;
      if (!_.isFunction(this.itemView.extend)) {
        ItemViewClass = this.itemView(model);
      }
      itemView = new ItemViewClass(this.__generateItemViewArgs(model));
      this.registerTrackedView(itemView, { shared: false });
      this.__modelToViewMap[model[this.__modelId]] = itemView.cid;
      if (!noUpdateToIdList) {
        this.__updateOrderedModelIdList();
      }
      this.trigger('child-view-added', {model: model, view: itemView});
      this.trigger('item-view-added', {model: model, view: itemView});
      return itemView;
    }
function(model, noUpdateToIdList) {
      var itemView,
        ItemViewClass = this.itemView;
      if (!_.isFunction(this.itemView.extend)) {
        ItemViewClass = this.itemView(model);
      }
      itemView = new ItemViewClass(this.__generateItemViewArgs(model));
      this.registerTrackedView(itemView, { shared: false });
      this.__modelToViewMap[model[this.__modelId]] = itemView.cid;
      if (!noUpdateToIdList) {
        this.__updateOrderedModelIdList();
      }
      this.trigger('child-view-added', {model: model, view: itemView});
      this.trigger('item-view-added', {model: model, view: itemView});
      return itemView;
    }
function ( model , noUpdateToIdList ) { var itemView , ItemViewClass = this . itemView ; if ( ! _ . isFunction ( this . itemView . extend ) ) { ItemViewClass = this . itemView ( model ) ; } itemView = new ItemViewClass ( this . __generateItemViewArgs ( model ) ) ; this . registerTrackedView ( itemView , { shared : false } ) ; this . __modelToViewMap [ model [ this . __modelId ] ] = itemView . cid ; if ( ! noUpdateToIdList ) { this . __updateOrderedModelIdList ( ) ; } this . trigger ( 'child-view-added' , { model : model , view : itemView } ) ; this . trigger ( 'item-view-added' , { model : model , view : itemView } ) ; return itemView ; }
Creates an item view and stores a reference to it
@method __createItemView
@private
@param model {Backbone Model} the model to create the view from
@param [noUpdateToIdList=false] if true, the internal order of model ids are not updated
@return {Backbone View} the new item view
Creates an item view and stores a reference to it