From 3f68ba72aeb2ad8aa8317da708bdb8698c40c300 Mon Sep 17 00:00:00 2001 From: Igor Kuruc <75122971+Metafyzik@users.noreply.github.com> Date: Wed, 17 Jul 2024 17:34:02 +0200 Subject: [PATCH] Update main.js deleting console.logs left from debugging --- main.js | 8 -------- 1 file changed, 8 deletions(-) diff --git a/main.js b/main.js index 441ae9b..2fc3cd0 100644 --- a/main.js +++ b/main.js @@ -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) {