CoreFiles by mySites.guru
effect-shake.min.js9 lines, 830 bytes, from wordpress-5.9.21.zip
Raw History Compare with 5.9.20
md5
4fde27faea52381de9c6cdb0ca09c19b
sha1
1eea1a49699f632197b8e9abfbaeb1d44144d2aa
sha256
273d44042fc4eba465208b0e3d26ac63a25d13d716476ac728c4fb6d6057b56e
/*!
 * jQuery UI Effects Shake 1.13.1
 * 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",o="up"===a||"left"===a,d={},m={},g={},a=i.queue().length;for(h.effects.createPlaceholder(i),d[r]=(o?"-=":"+=")+f,m[r]=(o?"+=":"-=")+2*f,g[r]=(o?"-=":"+=")+2*f,i.animate(d,c,e.easing);n<u;n++)i.animate(m,c,e.easing).animate(g,c,e.easing);i.animate(m,c,e.easing).animate(d,c/2,e.easing).queue(t),h.effects.unshift(i,a,1+s)})});

The same content is in 23 releases, WordPress 5.9.1-RC1 to 5.9.21. See them all, or every version of this file.