summaryrefslogtreecommitdiffstatshomepage
path: root/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js
diff options
context:
space:
mode:
authorAndrew Nacin <nacin@git.wordpress.org>2012-08-30 01:49:47 +0000
committerAndrew Nacin <nacin@git.wordpress.org>2012-08-30 01:49:47 +0000
commit7710b20d7272487ce86362294a8db64b904fe4c6 (patch)
tree9643dcf916b1fbb0759f48d05a89b94be42a3091 /wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js
parentff1dd048f499153df2ce42dda429c8bdff575bea (diff)
downloadwordpress-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-drop.min.js')
-rw-r--r--wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js b/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js
new file mode 100644
index 0000000000..0276374634
--- /dev/null
+++ b/wp-includes/js/jquery/ui/jquery.ui.effect-drop.min.js
@@ -0,0 +1,5 @@
+/*! jQuery UI - v1.9.0pre - 2012-08-29
+* http://jqueryui.com
+* Includes: jquery.ui.effect-drop.js
+* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
+(function(e,t){e.effects.effect.drop=function(t,n){var r=e(this),i=["position","top","bottom","left","right","opacity","height","width"],s=e.effects.setMode(r,t.mode||"hide"),o=s==="show",u=t.direction||"left",a=u==="up"||u==="down"?"top":"left",f=u==="up"||u==="left"?"pos":"neg",l={opacity:o?1:0},c;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),c=t.distance||r[a==="top"?"outerHeight":"outerWidth"](!0)/2,o&&r.css("opacity",0).css(a,f==="pos"?-c:c),l[a]=(o?f==="pos"?"+=":"-=":f==="pos"?"-=":"+=")+c,r.animate(l,{queue:!1,duration:t.duration,easing:t.easing,complete:function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}})}})(jQuery); \ No newline at end of file