diff options
author | Andrew Nacin <nacin@git.wordpress.org> | 2012-08-30 01:49:47 +0000 |
---|---|---|
committer | Andrew Nacin <nacin@git.wordpress.org> | 2012-08-30 01:49:47 +0000 |
commit | 7710b20d7272487ce86362294a8db64b904fe4c6 (patch) | |
tree | 9643dcf916b1fbb0759f48d05a89b94be42a3091 /wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js | |
parent | ff1dd048f499153df2ce42dda429c8bdff575bea (diff) | |
download | wordpress-7710b20d7272487ce86362294a8db64b904fe4c6.tar.gz wordpress-7710b20d7272487ce86362294a8db64b904fe4c6.zip |
jQuery UI 1.9 RC.
Adds Tooltip, Menu, and Spinner.
Autocomplete depends on Menu.
Renames Effects files.
1.9 final is expected next week.
see #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@21657 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js')
-rw-r--r-- | wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js b/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js new file mode 100644 index 0000000000..ca403be5d3 --- /dev/null +++ b/wp-includes/js/jquery/ui/jquery.ui.effect-fold.min.js @@ -0,0 +1,5 @@ +/*! jQuery UI - v1.9.0pre - 2012-08-29 +* http://jqueryui.com +* Includes: jquery.ui.effect-fold.js +* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */ +(function(e,t){e.effects.effect.fold=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=s==="hide",a=t.size||15,f=/([0-9]+)%/.exec(a),l=!!t.horizFirst,c=o!==l,h=c?["width","height"]:["height","width"],p=t.duration/2,d,v,m={},g={};e.effects.save(r,i),r.show(),d=e.effects.createWrapper(r).css({overflow:"hidden"}),v=c?[d.width(),d.height()]:[d.height(),d.width()],f&&(a=parseInt(f[1],10)/100*v[u?0:1]),o&&d.css(l?{height:0,width:a}:{height:a,width:0}),m[h[0]]=o?v[0]:a,g[h[1]]=o?v[1]:0,d.animate(m,p,t.easing).animate(g,p,t.easing,function(){u&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()})}})(jQuery);
\ No newline at end of file |