Skip to content

Commit

Permalink
remove analytics from master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielecirulli committed Mar 12, 2014
1 parent 385b65d commit d9fef60
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions js/html_actuator.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
Expand Down

0 comments on commit d9fef60

Please sign in to comment.