mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-01 08:19:38 +01:00
d79cc63828
Changelog: http://jqueryui.com/changelog/1.11.2/ see #29833. Built from https://develop.svn.wordpress.org/trunk@29920 git-svn-id: http://core.svn.wordpress.org/trunk@29672 1a063a9b-81f0-0310-95a4-ce76da25c4cd
11 lines
788 B
JavaScript
11 lines
788 B
JavaScript
/*!
|
|
* jQuery UI Effects Puff 1.11.2
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2014 jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://api.jqueryui.com/puff-effect/
|
|
*/
|
|
!function(a){"function"==typeof define&&define.amd?define(["jquery","./effect","./effect-scale"],a):a(jQuery)}(function(a){return a.effects.effect.puff=function(b,c){var d=a(this),e=a.effects.setMode(d,b.mode||"hide"),f="hide"===e,g=parseInt(b.percent,10)||150,h=g/100,i={height:d.height(),width:d.width(),outerHeight:d.outerHeight(),outerWidth:d.outerWidth()};a.extend(b,{effect:"scale",queue:!1,fade:!0,mode:e,complete:c,percent:f?g:100,from:f?i:{height:i.height*h,width:i.width*h,outerHeight:i.outerHeight*h,outerWidth:i.outerWidth*h}}),d.effect(b)}}); |