From efa2af59a240612fd4f8f2ccfcc9186cdd662783 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Sun, 9 Mar 2014 17:32:02 +0100 Subject: [PATCH] remove debug logging --- js/game_manager.js | 2 -- js/html_actuator.js | 1 - 2 files changed, 3 deletions(-) diff --git a/js/game_manager.js b/js/game_manager.js index 9264b97..f7cb3cf 100644 --- a/js/game_manager.js +++ b/js/game_manager.js @@ -79,14 +79,12 @@ GameManager.prototype.move = function (direction) { if (tile) { var pos = self.findFarthestPosition(cell, vector); - console.log(pos); self.moveTile(tile, pos); } }); }); this.addRandomTile(); - console.log(16 - this.grid.availableCells().length); this.actuate(); }; diff --git a/js/html_actuator.js b/js/html_actuator.js index 0e1975b..e966ba4 100644 --- a/js/html_actuator.js +++ b/js/html_actuator.js @@ -39,7 +39,6 @@ HTMLActuator.prototype.addTile = function (tile) { if (tile.previousPosition) { window.requestAnimationFrame(function () { - // console.log( + " === " + positionClass); element.classList.remove(element.classList[2]); element.classList.add(self.positionClass({ x: tile.x, y: tile.y })); }); -- GitLab