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 13b66c8ba9618242df2c1cc352a2b1d879c36188
Showing with 4 additions and 1 deletion.
  1. +4 −1 src/selector/selector.js
@@ -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.
You can’t perform that action at this time.