Matteo Scandolo | 46b5610 | 2015-12-16 14:23:08 -0800 | [diff] [blame] | 1 | define([ |
2 | "../core", | ||||
3 | "../selector", | ||||
4 | "../effects" | ||||
5 | ], function( jQuery ) { | ||||
6 | |||||
7 | jQuery.expr.filters.animated = function( elem ) { | ||||
8 | return jQuery.grep(jQuery.timers, function( fn ) { | ||||
9 | return elem === fn.elem; | ||||
10 | }).length; | ||||
11 | }; | ||||
12 | |||||
13 | }); |