torso-bundle.js
function() {
      var parentView = this;
      this.__injectionSiteMap = {};
      this.__lastTrackedViews = {};
      _.each(this.getTrackedViews(), function(view) {
        if (view.isAttachedToParent() && view.injectionSite) {
          parentView.__injectionSiteMap[view.injectionSite.attr('inject')] = view;
        }
        parentView.__lastTrackedViews[view.cid] = view;
      });
    }
function() {
      var parentView = this;
      this.__injectionSiteMap = {};
      this.__lastTrackedViews = {};
      _.each(this.getTrackedViews(), function(view) {
        if (view.isAttachedToParent() && view.injectionSite) {
          parentView.__injectionSiteMap[view.injectionSite.attr('inject')] = view;
        }
        parentView.__lastTrackedViews[view.cid] = view;
      });
    }
function ( ) { var parentView = this ; this . __injectionSiteMap = { } ; this . __lastTrackedViews = { } ; _ . each ( this . getTrackedViews ( ) , function ( view ) { if ( view . isAttachedToParent ( ) && view . injectionSite ) { parentView . __injectionSiteMap [ view . injectionSite . attr ( 'inject' ) ] = view ; } parentView . __lastTrackedViews [ view . cid ] = view ; } ) ; }
Used internally by Torso.View to keep a cache of tracked views and their current injection sites before detaching during render logic.
@private
@method __updateInjectionSiteMap
Used internally by Torso . View to keep a cache of tracked views and their current injection sites before detaching during render logic .