diff options
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 ); }, |