Remove unused lookup table.

This commit is contained in:
Jürg Lehni 2011-05-08 13:46:31 +01:00
parent b26caee702
commit 37f982e53f

View file

@ -15,23 +15,6 @@
*/
var KeyEvent = this.KeyEvent = Event.extend(new function() {
var keys = {
8: 'backspace',
13: 'enter',
16: 'shift',
17: 'control',
19: 'option', // was alt
20: 'capsLock',
27: 'escape',
32: 'space',
37: 'left',
38: 'up',
39: 'right',
40: 'down',
46: 'delete',
91: 'command'
};
return {
initialize: function(down, keyCode, character, event) {
this.base(event);