integration/v2/lib/jquery-ui/ui/minified/jquery.ui.effect-pulsate.min.js
author cavaliet
Mon, 09 Sep 2013 12:41:12 +0200
changeset 248 8021273c6965
parent 131 f7f6c6acf9b9
permissions -rw-r--r--
Added tag V00.08 for changeset 3c72a1b19462
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
131
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     1
/*! jQuery UI - v1.10.3 - 2013-05-03
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     2
* http://jqueryui.com
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     3
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */
f7f6c6acf9b9 add jquery ui
Anthony Ly <anthonyly.com@gmail.com>
parents:
diff changeset
     4
(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);