diff options
Diffstat (limited to 'themes/default/js/ui/minified/jquery.ui.effect-shake.min.js')
-rw-r--r-- | themes/default/js/ui/minified/jquery.ui.effect-shake.min.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/themes/default/js/ui/minified/jquery.ui.effect-shake.min.js b/themes/default/js/ui/minified/jquery.ui.effect-shake.min.js new file mode 100644 index 000000000..18ba12b0a --- /dev/null +++ b/themes/default/js/ui/minified/jquery.ui.effect-shake.min.js @@ -0,0 +1,5 @@ +/*! 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=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 |