提交 efa2af59 编写于 作者: G Gabriele Cirulli

remove debug logging

上级 b20e26e3
......@@ -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();
};
......
......@@ -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 }));
});
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册