Skip to content

Commit d273cdd

Browse files
committed
updated name according to PR feedback
1 parent 8afc90b commit d273cdd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/neighborhoodSquareDrawer.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ module.exports = class NeighborhoodDrawer extends Drawer {
307307
* @param grid the parent element we will add svg elements to
308308
* @param id the row and column we're on in id form
309309
*/
310-
pathCalculator(cellColorList, grid, id) {
310+
colorCells(cellColorList, grid, id) {
311311
let size = this.squareSize;
312312

313313
let topLeft = cellColorList[0];
@@ -468,7 +468,7 @@ module.exports = class NeighborhoodDrawer extends Drawer {
468468
let grid = this.makeGrid(r, c, this.svg_);
469469

470470
// Calculate all the svg paths based on neighboring cell colors
471-
this.pathCalculator(cells, grid, id);
471+
this.colorCells(cells, grid, id);
472472
}
473473
}
474474
}

0 commit comments

Comments
 (0)