summaryrefslogtreecommitdiffstats
path: root/wp-includes/js/jquery/ui/effect-shake.min.js
diff options
context:
space:
mode:
Diffstat (limited to 'wp-includes/js/jquery/ui/effect-shake.min.js')
-rw-r--r--wp-includes/js/jquery/ui/effect-shake.min.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/wp-includes/js/jquery/ui/effect-shake.min.js b/wp-includes/js/jquery/ui/effect-shake.min.js
new file mode 100644
index 0000000..97fb1d4
--- /dev/null
+++ b/wp-includes/js/jquery/ui/effect-shake.min.js
@@ -0,0 +1,9 @@
+/*!
+ * jQuery UI Effects Shake 1.13.2
+ * http://jqueryui.com
+ *
+ * Copyright jQuery Foundation and other contributors
+ * Released under the MIT license.
+ * http://jquery.org/license
+ */
+!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","./effect"],e):e(jQuery)}(function(h){"use strict";return h.effects.define("shake",function(e,t){var n=1,i=h(this),a=e.direction||"left",f=e.distance||20,u=e.times||3,s=2*u+1,c=Math.round(e.duration/s),r="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,o={},d={},m={},g=i.queue().length;for(h.effects.createPlaceholder(i),o[r]=(a?"-=":"+=")+f,d[r]=(a?"+=":"-=")+2*f,m[r]=(a?"-=":"+=")+2*f,i.animate(o,c,e.easing);n<u;n++)i.animate(d,c,e.easing).animate(m,c,e.easing);i.animate(d,c,e.easing).animate(o,c/2,e.easing).queue(t),h.effects.unshift(i,g,1+s)})}); \ No newline at end of file