diff options
author | Scott González <scott.gonzalez@gmail.com> | 2008-09-05 02:47:18 +0000 |
---|---|---|
committer | Scott González <scott.gonzalez@gmail.com> | 2008-09-05 02:47:18 +0000 |
commit | d5bea560de6c3046b859440e41d0f6a4b4603182 (patch) | |
tree | 4f885e2aa1083d826b5a519b4a03f16e30316114 | |
parent | f6008ca6944f0fc38d43488e1b137d91e4877cb6 (diff) | |
download | jquery-ui-d5bea560de6c3046b859440e41d0f6a4b4603182.tar.gz jquery-ui-d5bea560de6c3046b859440e41d0f6a4b4603182.zip |
Core: Converted :data selector to a function.
-rw-r--r-- | ui/ui.core.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js index 22597bf9d..7165ff91a 100644 --- a/ui/ui.core.js +++ b/ui/ui.core.js @@ -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, |