src/normalize-model-and-view.js
function normalizeArrayOptions (cell, cellDefinitions) {
  const arrayOptions = _.clone(cell.arrayOptions)
  if (arrayOptions.itemCell) {
    if (Array.isArray(arrayOptions.itemCell)) {
      arrayOptions.itemCell = arrayOptions.itemCell.map(cell => normalizeCell(cell, cellDefinitions))
    } else {
      arrayOptions.itemCell = normalizeCell(arrayOptions.itemCell, cellDefinitions)
    }
  }
  if (arrayOptions.tupleCells) {
    arrayOptions.tupleCells = arrayOptions.tupleCells.map(cell => normalizeCell(cell, cellDefinitions))
  }
  return arrayOptions
}
function normalizeArrayOptions (cell, cellDefinitions) {
  const arrayOptions = _.clone(cell.arrayOptions)
  if (arrayOptions.itemCell) {
    if (Array.isArray(arrayOptions.itemCell)) {
      arrayOptions.itemCell = arrayOptions.itemCell.map(cell => normalizeCell(cell, cellDefinitions))
    } else {
      arrayOptions.itemCell = normalizeCell(arrayOptions.itemCell, cellDefinitions)
    }
  }
  if (arrayOptions.tupleCells) {
    arrayOptions.tupleCells = arrayOptions.tupleCells.map(cell => normalizeCell(cell, cellDefinitions))
  }
  return arrayOptions
}
function normalizeArrayOptions ( cell , cellDefinitions ) { const arrayOptions = _ . clone ( cell . arrayOptions ) if ( arrayOptions . itemCell ) { if ( Array . isArray ( arrayOptions . itemCell ) ) { arrayOptions . itemCell = arrayOptions . itemCell . map ( cell => normalizeCell ( cell , cellDefinitions ) ) } else { arrayOptions . itemCell = normalizeCell ( arrayOptions . itemCell , cellDefinitions ) } } if ( arrayOptions . tupleCells ) { arrayOptions . tupleCells = arrayOptions . tupleCells . map ( cell => normalizeCell ( cell , cellDefinitions ) ) } return arrayOptions }
Normalizes cells within arrayOptions

@param {BunsenCell} cell Cell with arrayOptions to normalize
@param {Object} cellDefinitions Hash of cell definitions
@returns {Object} The normalized arrayOptions
Normalizes cells within arrayOptions