WordPress/wp-includes/js/jquery/ui/jquery.ui.effect-pulsate.min.js
Dominik Schilling 434114d40e jQuery UI 1.10.3. fixes #23370.
git-svn-id: http://core.svn.wordpress.org/trunk@24204 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2013-05-08 20:54:30 +00:00

4 lines
608 B
JavaScript

/*! jQuery UI - v1.10.3 - 2013-05-03
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
(function(t){t.effects.effect.pulsate=function(e,i){var s,n=t(this),a=t.effects.setMode(n,e.mode||"show"),o="show"===a,r="hide"===a,h=o||"hide"===a,l=2*(e.times||5)+(h?1:0),c=e.duration/l,u=0,d=n.queue(),p=d.length;for((o||!n.is(":visible"))&&(n.css("opacity",0).show(),u=1),s=1;l>s;s++)n.animate({opacity:u},c,e.easing),u=1-u;n.animate({opacity:u},c,e.easing),n.queue(function(){r&&n.hide(),i()}),p>1&&d.splice.apply(d,[1,0].concat(d.splice(p,l+1))),n.dequeue()}})(jQuery);