jellyfish-web/dashboard-ui/bower_components/jquery/src/effects/animatedSelector.js

16 lines
244 B
JavaScript
Raw Normal View History

2016-01-09 13:36:35 -05:00
define( [
2015-06-26 11:53:49 -04:00
"../core",
"../selector",
"../effects"
], function( jQuery ) {
2016-06-11 11:55:39 -04:00
"use strict";
jQuery.expr.pseudos.animated = function( elem ) {
2016-01-09 13:36:35 -05:00
return jQuery.grep( jQuery.timers, function( fn ) {
2015-06-26 11:53:49 -04:00
return elem === fn.elem;
2016-01-09 13:36:35 -05:00
} ).length;
2015-06-26 11:53:49 -04:00
};
2016-01-09 13:36:35 -05:00
} );