Skip to content

Commit

Permalink
Add named keystrokes
Browse files Browse the repository at this point in the history
  • Loading branch information
Keith Wood committed Jun 13, 2008
1 parent f27c0b7 commit 7b309de
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion tests/simulate/jquery.simulate.js
Expand Up @@ -135,7 +135,18 @@ $.extend($.simulate.prototype, {
$.extend($.simulate, {
defaults: {
speed: 'sync'
}
},
VK_TAB: 9,
VK_ENTER: 13,
VK_ESC: 27,
VK_PGUP: 33,
VK_PGDN: 34,
VK_END: 35,
VK_HOME: 36,
VK_LEFT: 37,
VK_UP: 38,
VK_RIGHT: 39,
VK_DOWN: 40
});

})(jQuery);

0 comments on commit 7b309de

Please sign in to comment.