diff options
author | Alexander Schmitz <arschmitz@gmail.com> | 2015-07-15 16:43:33 -0400 |
---|---|---|
committer | Alexander Schmitz <arschmitz@gmail.com> | 2015-08-08 00:29:36 -0400 |
commit | f0260fd91b593ae56f68e1f33ca8496c1c4b0467 (patch) | |
tree | 2a68e32188b4a9c81ed37820232feaeae11a797a /ui/core.js | |
parent | 3d71fb83fe02a307823594f5905be9848cfa5506 (diff) | |
download | jquery-ui-f0260fd91b593ae56f68e1f33ca8496c1c4b0467.tar.gz jquery-ui-f0260fd91b593ae56f68e1f33ca8496c1c4b0467.zip |
Core: Move data selector from core into its own module
Ref #9647
Diffstat (limited to 'ui/core.js')
-rw-r--r-- | ui/core.js | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ui/core.js b/ui/core.js index a529f35db..6cf599964 100644 --- a/ui/core.js +++ b/ui/core.js @@ -20,6 +20,7 @@ // AMD. Register as an anonymous module. define( [ "jquery", + "./data", "./version" ], factory ); } else { @@ -207,17 +208,6 @@ function visible( element ) { } $.extend( $.expr[ ":" ], { - data: $.expr.createPseudo ? - $.expr.createPseudo( function( dataName ) { - return function( elem ) { - return !!$.data( elem, dataName ); - }; - } ) : - // support: jQuery <1.8 - function( elem, i, match ) { - return !!$.data( elem, match[ 3 ] ); - }, - focusable: function( element ) { return focusable( element, $.attr( element, "tabindex" ) != null ); }, |