CoreFiles by mySites.guru
effect-shake.min.js9 lines, 846 bytes, from wordpress-6.7.3.zip
Raw History Compare with 6.7.2
md5
8c1295bcc29bb1e78f31503de3fa4ff3
sha1
c7008599709baf7fa00d373c64d7736314c05632
sha256
0cb945e907b6ec3824cb2f83e1b5283e4192d20e3bdeeef1a8796b2d697188db
/*!
 * jQuery UI Effects Shake 1.13.3
 * https://jqueryui.com
 *
 * Copyright OpenJS Foundation and other contributors
 * Released under the MIT license.
 * https://jquery.org/license
 */
!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery","../version","../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,s=e.times||3,u=2*s+1,c=Math.round(e.duration/u),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<s;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+u)})});

The same content is in 114 releases, WordPress 6.6-beta1 to 7.0.9. See them all, or every version of this file.