From d9fef6095f0b510d84c0eb01958b8f145828b337 Mon Sep 17 00:00:00 2001 From: Gabriele Cirulli Date: Wed, 12 Mar 2014 13:04:16 +0100 Subject: [PATCH] remove analytics from master branch --- js/html_actuator.js | 4 ---- 1 file changed, 4 deletions(-) diff --git a/js/html_actuator.js b/js/html_actuator.js index 5562ce9..04a137b 100644 --- a/js/html_actuator.js +++ b/js/html_actuator.js @@ -113,10 +113,6 @@ HTMLActuator.prototype.message = function (won) { var type = won ? "game-won" : "game-over"; var message = won ? "You win!" : "Game over!"; - if (typeof ga !== "undefined") { - ga("send", "event", "game", "end", type, this.score); - } - this.messageContainer.classList.add(type); this.messageContainer.getElementsByTagName("p")[0].textContent = message; }; -- GitLab