Added a new :animated selector - only selects elements that are currently being animated.

This commit is contained in:
John Resig 2007-09-08 12:33:06 +00:00
parent 902554a38d
commit 13b66c8ba9

View file

@ -59,7 +59,10 @@ jQuery.extend({
has: "jQuery.find(m[3],a).length",
// :header
header: "/h\\d/i.test(a.nodeName)"
header: "/h\\d/i.test(a.nodeName)",
// :animated
animated: "jQuery.grep(jQuery.timers,function(fn){return a==fn.elem;}).length"
}
},