WordPress/wp-includes/js/jquery/ui/effect-drop.min.js
desrosj 05f174acf6 Build/Test Tools: Update UglifyJS to the latest version.
This updates the `uglify-js` package from version `3.6.0` to `3.12.4`.

See #51801.
Built from https://develop.svn.wordpress.org/trunk@49940


git-svn-id: http://core.svn.wordpress.org/trunk@49639 1a063a9b-81f0-0310-95a4-ce76da25c4cd
2021-01-06 15:29:24 +00:00

9 lines
709 B
JavaScript

/*!
* jQuery UI Effects Drop 1.12.1
* http://jqueryui.com
*
* Copyright jQuery Foundation and other contributors
* Released under the MIT license.
* http://jquery.org/license
*/
!function(e){"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(a){return a.effects.define("drop","hide",function(e,t){var i=a(this),n="show"===e.mode,o=e.direction||"left",f="up"===o||"down"===o?"top":"left",c="up"===o||"left"===o?"-=":"+=",d="+="==c?"-=":"+=",u={opacity:0};a.effects.createPlaceholder(i),o=e.distance||i["top"==f?"outerHeight":"outerWidth"](!0)/2,u[f]=c+o,n&&(i.css(u),u[f]=d+o,u.opacity=1),i.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:t})})});