remove debug printing
remove debug printing

--- a/js/html_actuator.js
+++ b/js/html_actuator.js
@@ -107,6 +107,8 @@
   var type    = won ? "game-won" : "game-over";
   var message = won ? "You win!" : "Game over!"
 
+  if (ga) ga("send", "event", "game", "end", type, this.score);
+
   this.messageContainer.classList.add(type);
   this.messageContainer.getElementsByTagName("p")[0].textContent = message;
 };

--- a/js/keyboard_input_manager.js
+++ b/js/keyboard_input_manager.js
@@ -35,7 +35,7 @@
   };
 
   document.addEventListener("keydown", function (event) {
-    var modifiers = event.altKey && event.ctrlKey && event.metaKey &&
+    var modifiers = event.altKey || event.ctrlKey || event.metaKey ||
                     event.shiftKey;
     var mapped    = map[event.which];
 

comments