aboutsummaryrefslogtreecommitdiffstats
path: root/ui/core.js
diff options
context:
space:
mode:
authorAlexander Schmitz <arschmitz@gmail.com>2015-07-15 20:20:41 -0400
committerAlexander Schmitz <arschmitz@gmail.com>2015-08-08 00:29:37 -0400
commit6064a5e0487428d53bd694dcebce952730992c46 (patch)
treeba7ebad41e006e6690dfd270a9a5743a9dbdf7a2 /ui/core.js
parent26fc3b5587ed117a972224ac661255998e59f9e1 (diff)
downloadjquery-ui-6064a5e0487428d53bd694dcebce952730992c46.tar.gz
jquery-ui-6064a5e0487428d53bd694dcebce952730992c46.zip
Core: Move tabbable into its own module
Ref #9647
Diffstat (limited to 'ui/core.js')
-rw-r--r--ui/core.js9
1 files changed, 1 insertions, 8 deletions
diff --git a/ui/core.js b/ui/core.js
index 9e799a04c..d443346e8 100644
--- a/ui/core.js
+++ b/ui/core.js
@@ -31,6 +31,7 @@
"./plugin",
"./safe-active-element",
"./safe-blur",
+ "./tabbable",
"./version"
], factory );
} else {
@@ -78,12 +79,4 @@ $.fn.extend( {
}
} );
-$.extend( $.expr[ ":" ], {
- tabbable: function( element ) {
- var tabIndex = $.attr( element, "tabindex" ),
- hasTabindex = tabIndex != null;
- return ( !hasTabindex || tabIndex >= 0 ) && $.ui.focusable( element, hasTabindex );
- }
-} );
-
} ) );