dist/wolfcage.dev.js
// Add cells to the root/top row
Add cells to the root/top row
Add cells to the root / top row
_buildTopRow() {
    var cell, col, i, ref;
    for (col = i = 1, ref = this._boardNoCellsWide; (1 <= ref ? i <= ref : i >= ref); col = 1 <= ref ? ++i : --i) {
      cell = this._rootRowBinary[col];
      if (cell === 1) {
        this._getCellHtml(this._currentRow, col, true);
      } else {
        this._getCellHtml(this._currentRow, col, false);
      }
    }
    return this._currentRow++;
  }
_buildTopRow ( ) { var cell , col , i , ref ; for ( col = i = 1 , ref = this . _boardNoCellsWide ; ( 1 <= ref ? i <= ref : i >= ref ) ; col = 1 <= ref ? ++ i : -- i ) { cell = this . _rootRowBinary [ col ] ; if ( cell === 1 ) { this . _getCellHtml ( this . _currentRow , col , true ) ; } else { this . _getCellHtml ( this . _currentRow , col , false ) ; } } return this . _currentRow ++ ; }
Add cells to the root/top row
Add cells to the root / top row
// Build the top row from the root row binary //   this is defined by the root row editor