mirror of
https://github.com/gabrielecirulli/2048.git
synced 2026-08-30 17:13:37 +08:00
remove analytics from master
This commit is contained in:
@@ -91,8 +91,6 @@ HTMLActuator.prototype.updateScore = function (score) {
|
||||
};
|
||||
|
||||
HTMLActuator.prototype.message = function (won) {
|
||||
if (ga) ga("send", "event", "game", "end", type, this.score);
|
||||
|
||||
var type = won ? "game-won" : "game-over";
|
||||
var message = won ? "You win!" : "Game over!"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user