torso-bundle.js
function() {
      var propertyName = this.ids.property;
      var propertyNameContainsIdContainer = containsContainerDefinition(propertyName);
      var hasIdContainerProperty = !_.isUndefined(this.ids.idContainer);

      var idContainer;
      if (hasIdContainerProperty) {
        idContainer = this.__parseIdContainer();
      }

      if (propertyNameContainsIdContainer) {
        var containerAndDetail = this.__parseContainerDetailString(propertyName);
        propertyName = containerAndDetail.detail;
        idContainer = containerAndDetail.idContainer;
      }

      if (_.isUndefined(idContainer)) {
        idContainer = this.view;
      }

      return {
        idsPropertyName: propertyName,
        idContainer: idContainer
      };
    }
function() {
      var propertyName = this.ids.property;
      var propertyNameContainsIdContainer = containsContainerDefinition(propertyName);
      var hasIdContainerProperty = !_.isUndefined(this.ids.idContainer);

      var idContainer;
      if (hasIdContainerProperty) {
        idContainer = this.__parseIdContainer();
      }

      if (propertyNameContainsIdContainer) {
        var containerAndDetail = this.__parseContainerDetailString(propertyName);
        propertyName = containerAndDetail.detail;
        idContainer = containerAndDetail.idContainer;
      }

      if (_.isUndefined(idContainer)) {
        idContainer = this.view;
      }

      return {
        idsPropertyName: propertyName,
        idContainer: idContainer
      };
    }
function ( ) { var propertyName = this . ids . property ; var propertyNameContainsIdContainer = containsContainerDefinition ( propertyName ) ; var hasIdContainerProperty = ! _ . isUndefined ( this . ids . idContainer ) ; var idContainer ; if ( hasIdContainerProperty ) { idContainer = this . __parseIdContainer ( ) ; } if ( propertyNameContainsIdContainer ) { var containerAndDetail = this . __parseContainerDetailString ( propertyName ) ; propertyName = containerAndDetail . detail ; idContainer = containerAndDetail . idContainer ; } if ( _ . isUndefined ( idContainer ) ) { idContainer = this . view ; } return { idsPropertyName : propertyName , idContainer : idContainer } ; }
Converts the definition into the actual idContainer object and property name to retrieve off of that idContainer.
@method __parseIdsPropertyNameAndIdContainer
@return {{idsPropertyName: String, idContainer: Object}} the name of the ids property and the actual object to use as the idContainer.
@private
Converts the definition into the actual idContainer object and property name to retrieve off of that idContainer .