src/normalize-model-and-view.js
function aggregateModels (view, modelPath) {
  const models = {}
  view.cells.forEach(function (cell) {
    const newPath = typeof cell.model === 'string' ? modelPath.concat(cell.model) : modelPath
    pluckModels(cell, newPath, models, view.cellDefinitions)
  })
  return models
}
function aggregateModels (view, modelPath) {
  const models = {}
  view.cells.forEach(function (cell) {
    const newPath = typeof cell.model === 'string' ? modelPath.concat(cell.model) : modelPath
    pluckModels(cell, newPath, models, view.cellDefinitions)
  })
  return models
}
function aggregateModels ( view , modelPath ) { const models = { } view . cells . forEach ( function ( cell ) { const newPath = typeof cell . model === 'string' ? modelPath . concat ( cell . model ) : modelPath pluckModels ( cell , newPath , models , view . cellDefinitions ) } ) return models }
Collects schemas from a cell to add to the model in a hash.

@param {BunsenView} view View to check for additional schemas
@param {BunsenModelPath} modelPath Path to start within the model
@returns {Object} Hash of schemas. The keys are paths within the model
Collects schemas from a cell to add to the model in a hash .