Permalink
Browse files

Should do these all the time

  • Loading branch information...
ccampbell committed Jul 3, 2013
1 parent 5071d6f commit 2e5c2a8adbe80a89050aaf4e02c45f02f1cc12d4
Showing with 5 additions and 7 deletions.
  1. +5 −7 tests/libs/key-event.js
View
@@ -93,13 +93,11 @@
modifiers: modifiersToInclude
}, 'keydown'));
if (charCode > 0) {
keyEvents.push(new KeyEvent({
charCode: charCode,
keyCode: charCode,
modifiers: modifiersToInclude
}, 'keypress'));
}
keyEvents.push(new KeyEvent({
charCode: charCode,
keyCode: charCode,
modifiers: modifiersToInclude
}, 'keypress'));
repeat--;
}

0 comments on commit 2e5c2a8

Please sign in to comment.