aboutsummaryrefslogtreecommitdiffstats
path: root/template-common/lib/ui/minified/effects.shake.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'template-common/lib/ui/minified/effects.shake.min.js')
-rw-r--r--template-common/lib/ui/minified/effects.shake.min.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/template-common/lib/ui/minified/effects.shake.min.js b/template-common/lib/ui/minified/effects.shake.min.js
new file mode 100644
index 000000000..48d320c17
--- /dev/null
+++ b/template-common/lib/ui/minified/effects.shake.min.js
@@ -0,0 +1 @@
+(function(A){A.effects.shake=function(B){return this.queue(function(){var E=A(this),K=["position","top","left"];var J=A.effects.setMode(E,B.options.mode||"effect");var M=B.options.direction||"left";var C=B.options.distance||20;var D=B.options.times||3;var G=B.duration||B.options.duration||140;A.effects.save(E,K);E.show();A.effects.createWrapper(E);var F=(M=="up"||M=="down")?"top":"left";var O=(M=="up"||M=="left")?"pos":"neg";var H={},N={},L={};H[F]=(O=="pos"?"-=":"+=")+C;N[F]=(O=="pos"?"+=":"-=")+C*2;L[F]=(O=="pos"?"-=":"+=")+C*2;E.animate(H,G,B.options.easing);for(var I=1;I<D;I++){E.animate(N,G,B.options.easing).animate(L,G,B.options.easing)}E.animate(N,G,B.options.easing).animate(H,G/2,B.options.easing,function(){A.effects.restore(E,K);A.effects.removeWrapper(E);if(B.callback){B.callback.apply(this,arguments)}});E.queue("fx",function(){E.dequeue()});E.dequeue()})}})(jQuery) \ No newline at end of file