mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Core: Converted :data selector to a function.
This commit is contained in:
parent
f6008ca694
commit
d5bea560de
@ -18,7 +18,9 @@ $.fn.remove = function() {
|
||||
};
|
||||
|
||||
// This adds a selector to check if data exists.
|
||||
$.expr[':'].data = "jQuery.data(a, m[3])";
|
||||
$.expr[':'].data = function(a, i, m) {
|
||||
return $.data(a, m[3]);
|
||||
};
|
||||
|
||||
$.keyCode = {
|
||||
BACKSPACE: 8,
|
||||
|
Loading…
Reference in New Issue
Block a user