torso-bundle.js
function(computedAlias) {
      var hasAllModels = true,
        config = this.getMapping(computedAlias),
        modelConfigs = [];
      _.each(this.__getModelAliases(computedAlias), function(modelAlias) {
        var modelConfig = this.__createModelConfig(modelAlias, config.mapping[modelAlias]);
        if (modelConfig) {
          modelConfigs.push(modelConfig);
        } else {
          hasAllModels = false;
        }
      }, this);
      return hasAllModels ? modelConfigs : undefined;
    }
function(computedAlias) {
      var hasAllModels = true,
        config = this.getMapping(computedAlias),
        modelConfigs = [];
      _.each(this.__getModelAliases(computedAlias), function(modelAlias) {
        var modelConfig = this.__createModelConfig(modelAlias, config.mapping[modelAlias]);
        if (modelConfig) {
          modelConfigs.push(modelConfig);
        } else {
          hasAllModels = false;
        }
      }, this);
      return hasAllModels ? modelConfigs : undefined;
    }
function ( computedAlias ) { var hasAllModels = true , config = this . getMapping ( computedAlias ) , modelConfigs = [ ] ; _ . each ( this . __getModelAliases ( computedAlias ) , function ( modelAlias ) { var modelConfig = this . __createModelConfig ( modelAlias , config . mapping [ modelAlias ] ) ; if ( modelConfig ) { modelConfigs . push ( modelConfig ) ; } else { hasAllModels = false ; } } , this ) ; return hasAllModels ? modelConfigs : undefined ; }
Repackages a computed mapping to be easier consumed by methods wanting the model mappings tied to the model instances.
Returns a list of objects that contain the model instance and the mapping for that model.
@method __getComputedModelConfigs
@param computedAlias {String} the name/alias used for this computed
@return {Array of Objects} a list of objects that contain the model instance under "model" and the mapping for that model under "fields".
Repackages a computed mapping to be easier consumed by methods wanting the model mappings tied to the model instances . Returns a list of objects that contain the model instance and the mapping for that model .