]> source.dussan.org Git - jquery-ui.git/commitdiff
Add named keystrokes
authorKeith Wood <kbwood.au@gmail.com>
Fri, 13 Jun 2008 13:22:57 +0000 (13:22 +0000)
committerKeith Wood <kbwood.au@gmail.com>
Fri, 13 Jun 2008 13:22:57 +0000 (13:22 +0000)
tests/simulate/jquery.simulate.js

index f5168bf3bc11d7496a747085a13aa4675fe95965..a0dc290dacd4c6b03ac0228989e6c509a1c4baf0 100644 (file)
@@ -135,7 +135,18 @@ $.extend($.simulate.prototype, {
 $.extend($.simulate, {\r
        defaults: {\r
                speed: 'sync'\r
-       }\r
+       },\r
+       VK_TAB: 9,\r
+       VK_ENTER: 13,\r
+       VK_ESC: 27,\r
+       VK_PGUP: 33,\r
+       VK_PGDN: 34,\r
+       VK_END: 35,\r
+       VK_HOME: 36,\r
+       VK_LEFT: 37,\r
+       VK_UP: 38,\r
+       VK_RIGHT: 39,\r
+       VK_DOWN: 40\r
 });\r
 \r
 })(jQuery);\r