diff options
author | Dominik Schilling (ocean90) <ocean90@git.wordpress.org> | 2014-10-07 15:27:56 +0000 |
---|---|---|
committer | Dominik Schilling (ocean90) <ocean90@git.wordpress.org> | 2014-10-07 15:27:56 +0000 |
commit | 539d55e068686ec737db985736051871fe344d49 (patch) | |
tree | 62869230150dcb3b98d319b0b83b5190c1ab5dfa /src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js | |
parent | 564598f0686d62b1d74b1b0cc4c7736b54417376 (diff) | |
download | wordpress-539d55e068686ec737db985736051871fe344d49.tar.gz wordpress-539d55e068686ec737db985736051871fe344d49.zip |
Update jQuery UI to 1.11.1.
Because jQUI's build process no longer provides individual minified files we need some additional changes:
* Rename all files, remove the "jquery.ui." prefix. Add old files to `$_old_files`.
* Add and use non-minified files in /src.
* Add grunt task to minify jQuery UI files.
* (Non-minified files will not be shipped.)
Changelogs:
* http://jqueryui.com/changelog/1.11.0/
* http://jqueryui.com/changelog/1.11.1/
props Fab1en, ocean90.
fixes #29833.
git-svn-id: https://develop.svn.wordpress.org/trunk@29847 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to 'src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js')
-rw-r--r-- | src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js b/src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js deleted file mode 100644 index 1d251c20b3..0000000000 --- a/src/wp-includes/js/jquery/ui/jquery.ui.effect-shake.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery UI - v1.10.4 - 2014-01-17 -* http://jqueryui.com -* Copyright 2014 jQuery Foundation and other contributors; Licensed MIT */ -(function(t){t.effects.effect.shake=function(e,i){var s,n=t(this),a=["position","top","bottom","left","right","height","width"],o=t.effects.setMode(n,e.mode||"effect"),r=e.direction||"left",h=e.distance||20,l=e.times||3,c=2*l+1,u=Math.round(e.duration/c),d="up"===r||"down"===r?"top":"left",p="up"===r||"left"===r,f={},m={},g={},v=n.queue(),_=v.length;for(t.effects.save(n,a),n.show(),t.effects.createWrapper(n),f[d]=(p?"-=":"+=")+h,m[d]=(p?"+=":"-=")+2*h,g[d]=(p?"-=":"+=")+2*h,n.animate(f,u,e.easing),s=1;l>s;s++)n.animate(m,u,e.easing).animate(g,u,e.easing);n.animate(m,u,e.easing).animate(f,u/2,e.easing).queue(function(){"hide"===o&&n.hide(),t.effects.restore(n,a),t.effects.removeWrapper(n),i()}),_>1&&v.splice.apply(v,[1,0].concat(v.splice(_,c+1))),n.dequeue()}})(jQuery);
\ No newline at end of file |