- md5
- aa22279d57abd5f04672b17a68c1a5d8
- sha1
- fcd4134b8d8253a75fdb9ae8987954cbb5e07723
- sha256
- 30575ac0b3d5570a8fe09007a5dda042afa81a9cf0c7fd80d10c473176be7ac4
/*!
* 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){"function"==typeof define&&define.amd?define(["jquery","../version","../effect"],e):e(jQuery)}(function(h){return h.effects.define("shake",function(e,n){var t=1,i=h(this),a=e.direction||"left",f=e.distance||20,u=e.times||3,s=2*u+1,o=Math.round(e.duration/s),c="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,r={},d={},m={},g=i.queue().length;for(h.effects.createPlaceholder(i),r[c]=(a?"-=":"+=")+f,d[c]=(a?"+=":"-=")+2*f,m[c]=(a?"-=":"+=")+2*f,i.animate(r,o,e.easing);t<u;t++)i.animate(d,o,e.easing).animate(m,o,e.easing);i.animate(d,o,e.easing).animate(r,o/2,e.easing).queue(n),h.effects.unshift(i,g,1+s)})});
No other release has this exact content. See every version of this file.