summaryrefslogtreecommitdiff
path: root/static/development-bundle/ui/minified/jquery.effects.shake.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'static/development-bundle/ui/minified/jquery.effects.shake.min.js')
-rw-r--r--static/development-bundle/ui/minified/jquery.effects.shake.min.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/static/development-bundle/ui/minified/jquery.effects.shake.min.js b/static/development-bundle/ui/minified/jquery.effects.shake.min.js
new file mode 100644
index 0000000..b148bda
--- /dev/null
+++ b/static/development-bundle/ui/minified/jquery.effects.shake.min.js
@@ -0,0 +1,14 @@
+/*
+ * jQuery UI Effects Shake 1.8.6
+ *
+ * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about)
+ * Dual licensed under the MIT or GPL Version 2 licenses.
+ * http://jquery.org/license
+ *
+ * http://docs.jquery.com/UI/Effects/Shake
+ *
+ * Depends:
+ * jquery.effects.core.js
+ */
+(function(d){d.effects.shake=function(a){return this.queue(function(){var b=d(this),j=["position","top","left"];d.effects.setMode(b,a.options.mode||"effect");var c=a.options.direction||"left",e=a.options.distance||20,l=a.options.times||3,f=a.duration||a.options.duration||140;d.effects.save(b,j);b.show();d.effects.createWrapper(b);var g=c=="up"||c=="down"?"top":"left",h=c=="up"||c=="left"?"pos":"neg";c={};var i={},k={};c[g]=(h=="pos"?"-=":"+=")+e;i[g]=(h=="pos"?"+=":"-=")+e*2;k[g]=(h=="pos"?"-=":"+=")+
+e*2;b.animate(c,f,a.options.easing);for(e=1;e<l;e++)b.animate(i,f,a.options.easing).animate(k,f,a.options.easing);b.animate(i,f,a.options.easing).animate(c,f/2,a.options.easing,function(){d.effects.restore(b,j);d.effects.removeWrapper(b);a.callback&&a.callback.apply(this,arguments)});b.queue("fx",function(){b.dequeue()});b.dequeue()})}})(jQuery);