mirror of
https://github.com/WordPress/WordPress.git
synced 2024-11-09 04:11:10 +01:00
ebd841790b
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
11 lines
961 B
JavaScript
11 lines
961 B
JavaScript
/*!
|
|
* jQuery UI Effects Slide 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/slide-effect/
|
|
*/
|
|
!function(e){"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(a){return a.effects.effect.slide=function(e,t){var f,i=a(this),o=["position","top","bottom","left","right","width","height"],n=a.effects.setMode(i,e.mode||"show"),s="show"===n,r=e.direction||"left",c="up"===r||"down"===r?"top":"left",d="up"===r||"left"===r,u={};a.effects.save(i,o),i.show(),f=e.distance||i["top"==c?"outerHeight":"outerWidth"](!0),a.effects.createWrapper(i).css({overflow:"hidden"}),s&&i.css(c,d?isNaN(f)?"-"+f:-f:f),u[c]=(s?d?"+=":"-=":d?"-=":"+=")+f,i.animate(u,{queue:!1,duration:e.duration,easing:e.easing,complete:function(){"hide"===n&&i.hide(),a.effects.restore(i,o),a.effects.removeWrapper(i),t()}})}}); |