mirror of
https://github.com/WordPress/WordPress.git
synced 2025-01-05 07:58:35 +01:00
26335af1ac
This updates the following `devDependencies`: - `dotenv` from `16.4.5` to `16.4.7` - `dotenv-expand` from `11.0.6` to `12.0.1` - `postcss` from `8.4.47` to `8.4.49` - `qunit` from `2.22.0` to `2.23.1` - `sass` from `1.79.4` to `1.79.6` - `terser-webpack-plugin` from `5.3.10` to `5.3.11` - `uglify-js` from `3.17.4` to `3.19.3` - `uuid` from `9.0.1` to `11.0.3` - `webpack` from `5.90.2` to `5.97.1` Additionally, `npm audit fix` has been run. Follow up to [58585]. See #62220. Built from https://develop.svn.wordpress.org/trunk@59509 git-svn-id: http://core.svn.wordpress.org/trunk@58895 1a063a9b-81f0-0310-95a4-ce76da25c4cd
9 lines
813 B
JavaScript
9 lines
813 B
JavaScript
/*!
|
|
* 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
|
|
*/
|
|
(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),r="up"===a||"down"===a?"top":"left",a="up"===a||"left"===a,c={},d={},m={},g=i.queue().length;for(h.effects.createPlaceholder(i),c[r]=(a?"-=":"+=")+f,d[r]=(a?"+=":"-=")+2*f,m[r]=(a?"-=":"+=")+2*f,i.animate(c,o,e.easing);t<u;t++)i.animate(d,o,e.easing).animate(m,o,e.easing);i.animate(d,o,e.easing).animate(c,o/2,e.easing).queue(n),h.effects.unshift(i,g,1+s)})}); |