torso-bundle.js
function() {
      var modelConfigs = [];
      _.each(this.getMappings(), function(config, alias) {
        if (config.computed) {
          var computedModelConfigs = this.__getComputedModelConfigs(alias);
          if (computedModelConfigs) {
            modelConfigs = modelConfigs.concat(computedModelConfigs);
          }
        } else {
          var modelConfig = this.__createModelConfig(alias, config.mapping);
          if (modelConfig) {
            modelConfigs.push(modelConfig);
          }
        }
      }, this);
      return modelConfigs;
    }
function() {
      var modelConfigs = [];
      _.each(this.getMappings(), function(config, alias) {
        if (config.computed) {
          var computedModelConfigs = this.__getComputedModelConfigs(alias);
          if (computedModelConfigs) {
            modelConfigs = modelConfigs.concat(computedModelConfigs);
          }
        } else {
          var modelConfig = this.__createModelConfig(alias, config.mapping);
          if (modelConfig) {
            modelConfigs.push(modelConfig);
          }
        }
      }, this);
      return modelConfigs;
    }
function ( ) { var modelConfigs = [ ] ; _ . each ( this . getMappings ( ) , function ( config , alias ) { if ( config . computed ) { var computedModelConfigs = this . __getComputedModelConfigs ( alias ) ; if ( computedModelConfigs ) { modelConfigs = modelConfigs . concat ( computedModelConfigs ) ; } } else { var modelConfig = this . __createModelConfig ( alias , config . mapping ) ; if ( modelConfig ) { modelConfigs . push ( modelConfig ) ; } } } , this ) ; return modelConfigs ; }
Returns an array of convenience data structures that bind tracked models to the fields they are tracking for each mapping,
including model mappings inside computed mappings. There will be a model config for each tracked model on a computed mapping
meaning there can be multiple model configs for the same tracked model.
@method __getAllModelConfigs
@return {Array} array of convenience data structures that bind tracked models to the fields they are tracking for each mapping,
including model mappings inside computed mappings.
@private
Returns an array of convenience data structures that bind tracked models to the fields they are tracking for each mapping including model mappings inside computed mappings . There will be a model config for each tracked model on a computed mapping meaning there can be multiple model configs for the same tracked model .