aboutsummaryrefslogtreecommitdiffstats
path: root/ui/ui.core.js
diff options
context:
space:
mode:
authorPaul Bakaus <paul.bakaus@googlemail.com>2008-07-14 14:21:07 +0000
committerPaul Bakaus <paul.bakaus@googlemail.com>2008-07-14 14:21:07 +0000
commitc54f6ba62efb9c59cc846a0ec9e90750a93eab91 (patch)
treea57780e9e10e7f4a5ac572e40c942e3e2323e639 /ui/ui.core.js
parentd28b09a9848a55fab2d1230c3dc95dc2198fb4f5 (diff)
downloadjquery-ui-c54f6ba62efb9c59cc846a0ec9e90750a93eab91.tar.gz
jquery-ui-c54f6ba62efb9c59cc846a0ec9e90750a93eab91.zip
core: added :data selector that matches elements that have data for a given key.
droppable: removed the addition of "ui-droppable" class which greatly improves intialization time for IE6/7 and FF2
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r--ui/ui.core.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/ui.core.js b/ui/ui.core.js
index 00167f1e7..2ed32184d 100644
--- a/ui/ui.core.js
+++ b/ui/ui.core.js
@@ -9,6 +9,11 @@
*/
;(function($) {
+// This adds a selector to check if data exists.
+jQuery.extend(jQuery.expr[':'], {
+ data: "jQuery.data(a, m[3])"
+});
+
$.ui = {
plugin: {
add: function(module, option, set) {