Key: remove logging statement.

This commit is contained in:
Jonathan Puckey 2011-04-25 17:30:24 +02:00
parent 5d15c3dfef
commit 404bbac3a5

View file

@ -31,7 +31,6 @@ var Key = new function() {
var toolHandler = 'on' + Base.capitalize(type),
keyDown = type == 'keyDown';
this[type.toLowerCase()] = function(event) {
console.log(event.which || event.keyCode);
var code = event.which || event.keyCode,
key = keys[code] || String.fromCharCode(code).toLowerCase(),
keyActive = activeKeys[key];