X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;ds=sidebyside;f=web%2Fcore%2Fassets%2Fvendor%2Fjquery.ui%2Fui%2Feffects%2Feffect-explode-min.js;fp=web%2Fcore%2Fassets%2Fvendor%2Fjquery.ui%2Fui%2Feffects%2Feffect-explode-min.js;h=6bcb2af8f4faecf669b123247f0b8de01a00e68e;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hp=0000000000000000000000000000000000000000;hpb=aea91e65e895364e460983b890e295aa5d5540a5;p=yaffs-website diff --git a/web/core/assets/vendor/jquery.ui/ui/effects/effect-explode-min.js b/web/core/assets/vendor/jquery.ui/ui/effects/effect-explode-min.js new file mode 100644 index 000000000..6bcb2af8f --- /dev/null +++ b/web/core/assets/vendor/jquery.ui/ui/effects/effect-explode-min.js @@ -0,0 +1,4 @@ +/*! jQuery UI - v1.12.1 - 2017-03-31 +* http://jqueryui.com +* Copyright jQuery Foundation and other contributors; Licensed */ +!function(a){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],a):a(jQuery)}(function(a){return a.effects.define("explode","hide",function(b,c){function d(){t.push(this),t.length===l*m&&e()}function e(){n.css({visibility:"visible"}),a(t).remove(),c()}var f,g,h,i,j,k,l=b.pieces?Math.round(Math.sqrt(b.pieces)):3,m=l,n=a(this),o=b.mode,p="show"===o,q=n.show().css("visibility","hidden").offset(),r=Math.ceil(n.outerWidth()/m),s=Math.ceil(n.outerHeight()/l),t=[];for(f=0;f").css({position:"absolute",visibility:"visible",left:-g*r,top:-f*s}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:r,height:s,left:h+(p?j*r:0),top:i+(p?k*s:0),opacity:p?0:1}).animate({left:h+(p?0:j*r),top:i+(p?0:k*s),opacity:p?1:0},b.duration||500,b.easing,d)})}); \ No newline at end of file