dist/wolfcage.dev.js
// Change the border color of the cells
Change the border color of the cells
Change the border color of the cells
_changeCellBorderColor(hexColor) {
    var cell, cellsElems, i, len, results;
    this.BUS.set('board.style.borderColor', hexColor);
    this.BUS.set('board.cell.style.borderColor', hexColor);
    DOM.elemById('GENERATOR', 'BOARD').style.borderColor = hexColor;
    cellsElems = DOM.elemsByClass('BOARD', 'CELL_BASE_CLASS');
    results = [];
    for (i = 0, len = cellsElems.length; i < len; i++) {
      cell = cellsElems[i];
      cell.style.borderRightColor = hexColor;
      results.push(cell.style.borderBottomColor = hexColor);
    }
    return results;
  }
_changeCellBorderColor ( hexColor ) { var cell , cellsElems , i , len , results ; this . BUS . set ( 'board.style.borderColor' , hexColor ) ; this . BUS . set ( 'board.cell.style.borderColor' , hexColor ) ; DOM . elemById ( 'GENERATOR' , 'BOARD' ) . style . borderColor = hexColor ; cellsElems = DOM . elemsByClass ( 'BOARD' , 'CELL_BASE_CLASS' ) ; results = [ ] ; for ( i = 0 , len = cellsElems . length ; i < len ; i ++ ) { cell = cellsElems [ i ] ; cell . style . borderRightColor = hexColor ; results . push ( cell . style . borderBottomColor = hexColor ) ; } return results ; }
Change the border color of the cells
Change the border color of the cells