WordPress/wp-includes/js/jquery/ui/effect-puff.min.js
Aaron Jorbin ebd841790b Build/Test: Update Grunt Uglify options
Follow up to [46408]

Sometimes you need to take documentation literally. And sometimes you need to take it seriously. Deprecations and replacements in uglify are a case where I took them literally and should have taken them seriously.

See #48203.


Built from https://develop.svn.wordpress.org/trunk@46409


git-svn-id: http://core.svn.wordpress.org/trunk@46207 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2019-10-05 22:01:04 +00:00

11 lines
783 B
JavaScript

/*!
* jQuery UI Effects Puff 1.11.4
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*
* http://api.jqueryui.com/puff-effect/
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./effect","./effect-scale"],e):e(jQuery)}(function(r){return r.effects.effect.puff=function(e,t){var f=r(this),i=r.effects.setMode(f,e.mode||"hide"),h="hide"===i,d=parseInt(e.percent,10)||150,o=d/100,u={height:f.height(),width:f.width(),outerHeight:f.outerHeight(),outerWidth:f.outerWidth()};r.extend(e,{effect:"scale",queue:!1,fade:!0,mode:i,complete:t,percent:h?d:100,from:h?u:{height:u.height*o,width:u.width*o,outerHeight:u.outerHeight*o,outerWidth:u.outerWidth*o}}),f.effect(e)}});