CoreFiles by mySites.guru
effect-shake.min.js9 lines, 830 bytes, from wordpress-6.2.13.zip
Raw History Compare with 6.2.12
md5
698da95b25cc33af2278605734398715
sha1
11490b0e1cc44c8f9e3a2144d0bf9c824967b04f
sha256
198d39b251b565f00336e14c1a75176e01d6b009b4a076286ccaff00930e5969
/*!
 * 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)})});

The same content is in 132 releases, WordPress 6.1-beta1 to 6.5.15. See them all, or every version of this file.