Commit 13b66c8b authored by John Resig's avatar John Resig

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

parent 902554a3
...@@ -59,7 +59,10 @@ jQuery.extend({ ...@@ -59,7 +59,10 @@ jQuery.extend({
has: "jQuery.find(m[3],a).length", has: "jQuery.find(m[3],a).length",
// :header // :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"
} }
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment