提交 62a314ad 编写于 作者: G Gabriele Cirulli

remove repeated ga call

上级 7f99ed83
...@@ -106,8 +106,6 @@ HTMLActuator.prototype.updateScore = function (score) { ...@@ -106,8 +106,6 @@ HTMLActuator.prototype.updateScore = function (score) {
}; };
HTMLActuator.prototype.message = function (won) { HTMLActuator.prototype.message = function (won) {
if (ga) ga("send", "event", "game", "end", type, this.score);
var type = won ? "game-won" : "game-over"; var type = won ? "game-won" : "game-over";
var message = won ? "You win!" : "Game over!" var message = won ? "You win!" : "Game over!"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册