Sha256: 81ef19a6f8a4b5d60a90037f4e48893dc40830ce1cd6167210e9df6911b171cc

Contents?: true

Size: 1.07 KB

Versions: 31

Compression:

Stored size: 1.07 KB

Contents

/* */ 
"format amd";
/*! jQuery UI - v1.11.4 - 2015-03-13
* http://jqueryui.com
* Copyright jQuery Foundation and other contributors; Licensed MIT */
(function(t){"function"==typeof define&&define.amd?define(["jquery","./effect"],t):t(jQuery)})(function(t){return t.effects.effect.explode=function(e,i){function s(){b.push(this),b.length===u*d&&n()}function n(){p.css({visibility:"visible"}),t(b).remove(),g||p.hide(),i()}var o,a,r,h,l,c,u=e.pieces?Math.round(Math.sqrt(e.pieces)):3,d=u,p=t(this),f=t.effects.setMode(p,e.mode||"hide"),g="show"===f,m=p.show().css("visibility","hidden").offset(),v=Math.ceil(p.outerWidth()/d),_=Math.ceil(p.outerHeight()/u),b=[];for(o=0;u>o;o++)for(h=m.top+o*_,c=o-(u-1)/2,a=0;d>a;a++)r=m.left+a*v,l=a-(d-1)/2,p.clone().appendTo("body").wrap("<div></div>").css({position:"absolute",visibility:"visible",left:-a*v,top:-o*_}).parent().addClass("ui-effects-explode").css({position:"absolute",overflow:"hidden",width:v,height:_,left:r+(g?l*v:0),top:h+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:l*v),top:h+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}});

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
sequenceserver-3.1.3 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-3.1.2 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-3.1.1 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-3.1.0 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-3.0.1 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-3.0 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.2.0 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.1.0 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc8 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc7 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc6 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc5 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc4 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc3 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc2 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.rc1 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.beta4 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.beta3 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js
sequenceserver-2.0.0.beta1 public/vendor/github/components/jqueryui@1.11.4/ui/minified/effect-explode.min.js