remove debug logging

This commit is contained in:
Gabriele Cirulli
2014-03-09 17:32:02 +01:00
parent b20e26e3bd
commit efa2af59a2
2 changed files with 0 additions and 3 deletions
-2
View File
@@ -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();
};
-1
View File
@@ -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 }));
});