diff options
Diffstat (limited to 'ui/ui.core.js')
-rw-r--r-- | ui/ui.core.js | 5 |
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) { |