4 lines
690 B
JavaScript
4 lines
690 B
JavaScript
|
/*! jQuery UI - v1.11.2 - 2014-10-17
|
||
|
* http://jqueryui.com
|
||
|
* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */
|
||
|
(function(e){"function"==typeof define&&define.amd?define(["jquery","./effect","./effect-scale"],e):e(jQuery)})(function(e){return e.effects.effect.puff=function(t,i){var s=e(this),n=e.effects.setMode(s,t.mode||"hide"),a="hide"===n,o=parseInt(t.percent,10)||150,r=o/100,h={height:s.height(),width:s.width(),outerHeight:s.outerHeight(),outerWidth:s.outerWidth()};e.extend(t,{effect:"scale",queue:!1,fade:!0,mode:n,complete:i,percent:a?o:100,from:a?h:{height:h.height*r,width:h.width*r,outerHeight:h.outerHeight*r,outerWidth:h.outerWidth*r}}),s.effect(t)}});
|