aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorKeith Wood <kbwood.au@gmail.com>2008-06-13 13:22:57 +0000
committerKeith Wood <kbwood.au@gmail.com>2008-06-13 13:22:57 +0000
commit7b309defda033c67afb3e6161f3262dc39d2be62 (patch)
treee3c02b0a6a3c810d57f2e999b221f889334d7072 /tests
parentf27c0b77bff396f57e8e280cf5da658fffc34dfd (diff)
downloadjquery-ui-7b309defda033c67afb3e6161f3262dc39d2be62.tar.gz
jquery-ui-7b309defda033c67afb3e6161f3262dc39d2be62.zip
Add named keystrokes
Diffstat (limited to 'tests')
-rw-r--r--tests/simulate/jquery.simulate.js13
1 files changed, 12 insertions, 1 deletions
diff --git a/tests/simulate/jquery.simulate.js b/tests/simulate/jquery.simulate.js
index f5168bf3b..a0dc290da 100644
--- a/tests/simulate/jquery.simulate.js
+++ b/tests/simulate/jquery.simulate.js
@@ -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);