CoreFiles by mySites.guru
effect-shake.min.js9 lines, 830 bytes, from wordpress-5.9.zip
Raw History Compare with 5.8.20
md5
53c2f9a9455540642cec3b5b5885d0ba
sha1
ee5a8a07ca8ca4350567a68450d3bc503c1ef9da
sha256
31f11fa721cf8f6af8eed6d203d24b6ae7a553bca20b4e3bcd904167db2b67ce
/*!
 * jQuery UI Effects Shake 1.13.0
 * 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 9 releases, WordPress 5.9-beta1 to 5.9. See them all, or every version of this file.