summaryrefslogtreecommitdiffstatshomepage
path: root/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js
diff options
context:
space:
mode:
authorAndrew Nacin <nacin@git.wordpress.org>2012-10-11 03:34:19 +0000
committerAndrew Nacin <nacin@git.wordpress.org>2012-10-11 03:34:19 +0000
commita6b7bda12f6b9b9126b1048eaf74cd2c99a85eb8 (patch)
treec135b6a83089ff553240e01377ae9898b38275b8 /wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js
parentd27554692529e597df4dbbbcda08036ae4847226 (diff)
downloadwordpress-a6b7bda12f6b9b9126b1048eaf74cd2c99a85eb8.tar.gz
wordpress-a6b7bda12f6b9b9126b1048eaf74cd2c99a85eb8.zip
jQuery 1.9.0 final. see #21736.
git-svn-id: https://develop.svn.wordpress.org/trunk@22182 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js')
-rw-r--r--wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js b/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js
index 6a487c5879..18ba12b0a4 100644
--- a/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js
+++ b/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js
@@ -1,5 +1,5 @@
-/*! jQuery UI - v1.9.0pre - 2012-08-29
+/*! jQuery UI - v1.9.0 - 2012-10-05
* http://jqueryui.com
* Includes: jquery.ui.effect-shake.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
-(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=t.duration,c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m<a;m++)r.animate(d,l,t.easing).animate(v,l,t.easing);r.animate(d,l,t.easing).animate(p,l/2,t.easing).queue(function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),y>1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery); \ No newline at end of file
+(function(e,t){e.effects.effect.shake=function(t,n){var r=e(this),i=["position","top","bottom","left","right","height","width"],s=e.effects.setMode(r,t.mode||"effect"),o=t.direction||"left",u=t.distance||20,a=t.times||3,f=a*2+1,l=Math.round(t.duration/f),c=o==="up"||o==="down"?"top":"left",h=o==="up"||o==="left",p={},d={},v={},m,g=r.queue(),y=g.length;e.effects.save(r,i),r.show(),e.effects.createWrapper(r),p[c]=(h?"-=":"+=")+u,d[c]=(h?"+=":"-=")+u*2,v[c]=(h?"-=":"+=")+u*2,r.animate(p,l,t.easing);for(m=1;m<a;m++)r.animate(d,l,t.easing).animate(v,l,t.easing);r.animate(d,l,t.easing).animate(p,l/2,t.easing).queue(function(){s==="hide"&&r.hide(),e.effects.restore(r,i),e.effects.removeWrapper(r),n()}),y>1&&g.splice.apply(g,[1,0].concat(g.splice(y,f+1))),r.dequeue()}})(jQuery); \ No newline at end of file