aboutsummaryrefslogtreecommitdiffstats
path: root/ui/core.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-07-15 18:03:01 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-08 00:29:36 -0400
commitbddb7efe000cf60e455d48f28acef0ef2f295d9d (patch)
treeb1a4d336d52d47fbb74ec6de6b877b9c7b3911e5 /ui/core.js
parent677fdbf7bef71d12998191e0b97c2c5cd34349be (diff)
downloadjquery-ui-bddb7efe000cf60e455d48f28acef0ef2f295d9d.tar.gz
jquery-ui-bddb7efe000cf60e455d48f28acef0ef2f295d9d.zip
Core: Move keyCode into its own module
Ref #9647
Diffstat (limited to 'ui/core.js')
-rw-r--r--ui/core.js20
1 files changed, 1 insertions, 19 deletions
diff --git a/ui/core.js b/ui/core.js
index 006011f3c..6c948d058 100644
--- a/ui/core.js
+++ b/ui/core.js
@@ -26,6 +26,7 @@
"./focusable",
"./form",
"./ie",
+ "./keycode",
"./version"
], factory );
} else {
@@ -37,25 +38,6 @@
$.extend( $.ui, {
- keyCode: {
- BACKSPACE: 8,
- COMMA: 188,
- DELETE: 46,
- DOWN: 40,
- END: 35,
- ENTER: 13,
- ESCAPE: 27,
- HOME: 36,
- LEFT: 37,
- PAGE_DOWN: 34,
- PAGE_UP: 33,
- PERIOD: 190,
- RIGHT: 39,
- SPACE: 32,
- TAB: 9,
- UP: 38
- },
-
// Internal use only
safeActiveElement: function( document ) {
var activeElement;