aboutsummaryrefslogtreecommitdiffstats
path: root/include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js')
-rw-r--r--include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js b/include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js
new file mode 100644
index 000000000..d59a85a4b
--- /dev/null
+++ b/include/jquery_ui/development-bundle/ui/minified/jquery.effects.shake.min.js
@@ -0,0 +1,5 @@
+/*! jQuery UI - v1.8.21 - 2012-06-05
+* https://github.com/jquery/jquery-ui
+* Includes: jquery.effects.shake.js
+* Copyright (c) 2012 AUTHORS.txt; Licensed MIT, GPL */
+(function(a,b){a.effects.shake=function(b){return this.queue(function(){var c=a(this),d=["position","top","bottom","left","right"],e=a.effects.setMode(c,b.options.mode||"effect"),f=b.options.direction||"left",g=b.options.distance||20,h=b.options.times||3,i=b.duration||b.options.duration||140;a.effects.save(c,d),c.show(),a.effects.createWrapper(c);var j=f=="up"||f=="down"?"top":"left",k=f=="up"||f=="left"?"pos":"neg",l={},m={},n={};l[j]=(k=="pos"?"-=":"+=")+g,m[j]=(k=="pos"?"+=":"-=")+g*2,n[j]=(k=="pos"?"-=":"+=")+g*2,c.animate(l,i,b.options.easing);for(var p=1;p<h;p++)c.animate(m,i,b.options.easing).animate(n,i,b.options.easing);c.animate(m,i,b.options.easing).animate(l,i/2,b.options.easing,function(){a.effects.restore(c,d),a.effects.removeWrapper(c),b.callback&&b.callback.apply(this,arguments)}),c.queue("fx",function(){c.dequeue()}),c.dequeue()})}})(jQuery); \ No newline at end of file