Browse files

Remove code handled by `KeyboardEvent.fromDomKeyboardEvent`

  • Loading branch information...
1 parent 43791e6 commit 4fe81ed841e1046af59f50432d365a14323f9c04 @davidaurelio davidaurelio committed Mar 6, 2013
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/renderer/svg/svg_event_handlers.js
View
3 src/renderer/svg/svg_event_handlers.js
@@ -190,9 +190,6 @@ define([
// }
var keyboardEvent = KeyboardEvent.fromDomKeyboardEvent(domEvent);
- if (domEventType === 'keypress') {
- event.charCode = domEvent.charCode;
- }
this.emit('userevent', keyboardEvent, targetId);
}
},

0 comments on commit 4fe81ed

Please sign in to comment.