mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-20 22:39:50 -05:00
Remove unused lookup table.
This commit is contained in:
parent
b26caee702
commit
37f982e53f
1 changed files with 0 additions and 17 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue