Skip to content
Permalink
Browse files

Core: Converted :data selector to a function.

  • Loading branch information
scottgonzalez committed Sep 5, 2008
1 parent f6008ca commit d5bea560de6c3046b859440e41d0f6a4b4603182
Showing with 3 additions and 1 deletion.
  1. +3 −1 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,

0 comments on commit d5bea56

Please sign in to comment.
You can’t perform that action at this time.