aboutsummaryrefslogtreecommitdiffstats
path: root/src/fx.js
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-10-26 18:07:57 -0400
committerJohn Resig <jeresig@gmail.com>2009-10-26 18:07:57 -0400
commitbbffc99f7c60d42d4286786dfd6a43aa31d62ae2 (patch)
tree58bd5ac0bebdd51a7b04275edf4f71d0db3f688a /src/fx.js
parentb7ccc58afec145120e8e675cf8fd30e9ea97f2a3 (diff)
downloadjquery-bbffc99f7c60d42d4286786dfd6a43aa31d62ae2.tar.gz
jquery-bbffc99f7c60d42d4286786dfd6a43aa31d62ae2.zip
Moved a bunch of methods out of the jQuery-specific Sizzle code into more-appropriate files, in jQuery itself.
Diffstat (limited to 'src/fx.js')
-rw-r--r--src/fx.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/fx.js b/src/fx.js
index a73ce3272..24d28410d 100644
--- a/src/fx.js
+++ b/src/fx.js
@@ -420,3 +420,11 @@ jQuery.extend( jQuery.fx, {
}
}
});
+
+if ( jQuery.expr && jQuery.expr.filters ) {
+ jQuery.expr.filters.animated = function(elem){
+ return jQuery.grep(jQuery.timers, function(fn){
+ return elem === fn.elem;
+ }).length;
+ };
+} \ No newline at end of file