Sha256: 3322eaaa8ef6b610ba4e3c95745ec1e07285e53210f49827d912ef768c5cfba4

Contents?: true

Size: 985 Bytes

Versions: 23

Compression:

Stored size: 985 Bytes

Contents

/*! jQuery UI - v1.10.3 - 2013-09-04
* http://jqueryui.com
* Copyright 2013 jQuery Foundation and other contributors; Licensed MIT */

(function(t){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 a,o,r,l,h,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(a=0;u>a;a++)for(l=m.top+a*_,c=a-(u-1)/2,o=0;d>o;o++)r=m.left+o*v,h=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+(g?h*v:0),top:l+(g?c*_:0),opacity:g?0:1}).animate({left:r+(g?0:h*v),top:l+(g?0:c*_),opacity:g?1:0},e.duration||500,e.easing,s)}})(jQuery);

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
rearview-1.0.0.rc4-jruby public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js
rearview-1.0.0.rc3-jruby public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js
rearview-1.0.0.rc2-jruby public/rearview-src/vendor/jquery/plugins/jquery-ui/development-bundle/ui/minified/jquery.ui.effect-explode.min.js