Sha256: 0c23a66e67bbb8d12a8cd647b07e97d24537a9b4665febd959b37146795f3f9b

Contents?: true

Size: 1.05 KB

Versions: 53

Compression:

Stored size: 1.05 KB

Contents

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

Version data entries

53 entries across 53 versions & 2 rubygems

Version Path
wrgem-0.0.55 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.54 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.53 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.52 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.51 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.50 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.49 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.48 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.47 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.46 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.45 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.44 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.43 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.42 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.41 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.40 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.39 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.38 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.37 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js
wrgem-0.0.35 lib/generators/wrstart/template/vendor/assets/components/jqueryui/ui/minified/effect-explode.min.js