mirror of
https://github.com/WordPress/WordPress.git
synced 2024-10-05 11:07:44 +02:00
04edb0a1d6
Because jQUI's build process no longer provides individual minified files we need some additional changes: * Rename all files, remove the "jquery.ui." prefix. Add old files to `$_old_files`. * Add and use non-minified files in /src. * Add grunt task to minify jQuery UI files. * (Non-minified files will not be shipped.) Changelogs: * http://jqueryui.com/changelog/1.11.0/ * http://jqueryui.com/changelog/1.11.1/ props Fab1en, ocean90. fixes #29833. Built from https://develop.svn.wordpress.org/trunk@29847 git-svn-id: http://core.svn.wordpress.org/trunk@29610 1a063a9b-81f0-0310-95a4-ce76da25c4cd
11 lines
923 B
JavaScript
11 lines
923 B
JavaScript
/*!
|
|
* jQuery UI Effects Clip 1.11.1
|
|
* http://jqueryui.com
|
|
*
|
|
* Copyright 2014 jQuery Foundation and other contributors
|
|
* Released under the MIT license.
|
|
* http://jquery.org/license
|
|
*
|
|
* http://api.jqueryui.com/clip-effect/
|
|
*/
|
|
!function(a){"function"==typeof define&&define.amd?define(["jquery","./effect"],a):a(jQuery)}(function(a){return a.effects.effect.clip=function(b,c){var d,e,f,g=a(this),h=["position","top","bottom","left","right","height","width"],i=a.effects.setMode(g,b.mode||"hide"),j="show"===i,k=b.direction||"vertical",l="vertical"===k,m=l?"height":"width",n=l?"top":"left",o={};a.effects.save(g,h),g.show(),d=a.effects.createWrapper(g).css({overflow:"hidden"}),e="IMG"===g[0].tagName?d:g,f=e[m](),j&&(e.css(m,0),e.css(n,f/2)),o[m]=j?f:0,o[n]=j?0:f/2,e.animate(o,{queue:!1,duration:b.duration,easing:b.easing,complete:function(){j||g.hide(),a.effects.restore(g,h),a.effects.removeWrapper(g),c()}})}}); |