Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
deleting console.logs left from debugging
  • Loading branch information
Metafyzik authored Jul 17, 2024
1 parent 42f2e3b commit 3f68ba7
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,19 +52,11 @@ const initNullGen = {
pushPopCell : function (isInlifeCells, coordinatesSquare, index) {
if (isInlifeCells == false) {
lifeCells.push(coordinatesSquare)
console.log("added", isInlifeCells);
} else {

lifeCells.splice(index,1);
//lifeCells.pop(coordinatesSquare)



console.log("discarted", isInlifeCells);
}

console.log(lifeCells)

},
// draw new cell or redraw poped cell back to canvas color
drawRedrawCell : function (isInlifeCells, coordinatesSquare) {
Expand Down

0 comments on commit 3f68ba7

Please sign in to comment.