Skip to content
Permalink
Browse files
Added a new :animated selector - only selects elements that are curre…
…ntly being animated.
  • Loading branch information
jeresig committed Sep 8, 2007
1 parent 902554a commit 13b66c8
Showing 1 changed file with 4 additions and 1 deletion.
@@ -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"
}
},

0 comments on commit 13b66c8

Please sign in to comment.