diff options
author | Nathaniel <catch@35733.no-reply.drupal.org> | 2011-11-01 12:32:15 +0900 |
---|---|---|
committer | Nathaniel <catch@35733.no-reply.drupal.org> | 2011-11-01 12:32:15 +0900 |
commit | 906a6db34707d27120dddd43a23f26f24153255d (patch) | |
tree | e9cdcb5b66f1e593d1321845757b489b4bac588d /core/misc/ui/jquery.effects.bounce.min.js | |
parent | f0a16bf2a4d1524aa33b656533e37d977cca4802 (diff) | |
download | drupal-906a6db34707d27120dddd43a23f26f24153255d.tar.gz drupal-906a6db34707d27120dddd43a23f26f24153255d.zip |
Revert "Issue #22336 by quicksketch, rfay, scor, Rob Loach, boombatower, tstoeckler, kbahey: Move all core Drupal files under a /core folder to improve usability and upgrades."
This reverts commit f0a16bf2a4d1524aa33b656533e37d977cca4802.
Diffstat (limited to 'core/misc/ui/jquery.effects.bounce.min.js')
-rw-r--r-- | core/misc/ui/jquery.effects.bounce.min.js | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/core/misc/ui/jquery.effects.bounce.min.js b/core/misc/ui/jquery.effects.bounce.min.js deleted file mode 100644 index ca63813f7beb..000000000000 --- a/core/misc/ui/jquery.effects.bounce.min.js +++ /dev/null @@ -1,16 +0,0 @@ - -/* - * jQuery UI Effects Bounce 1.8.7 - * - * Copyright 2010, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Effects/Bounce - * - * Depends: - * jquery.effects.core.js - */ -(function(e){e.effects.bounce=function(b){return this.queue(function(){var a=e(this),l=["position","top","left"],h=e.effects.setMode(a,b.options.mode||"effect"),d=b.options.direction||"up",c=b.options.distance||20,m=b.options.times||5,i=b.duration||250;/show|hide/.test(h)&&l.push("opacity");e.effects.save(a,l);a.show();e.effects.createWrapper(a);var f=d=="up"||d=="down"?"top":"left";d=d=="up"||d=="left"?"pos":"neg";c=b.options.distance||(f=="top"?a.outerHeight({margin:true})/3:a.outerWidth({margin:true})/ -3);if(h=="show")a.css("opacity",0).css(f,d=="pos"?-c:c);if(h=="hide")c/=m*2;h!="hide"&&m--;if(h=="show"){var g={opacity:1};g[f]=(d=="pos"?"+=":"-=")+c;a.animate(g,i/2,b.options.easing);c/=2;m--}for(g=0;g<m;g++){var j={},k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing);c=h=="hide"?c*2:c/2}if(h=="hide"){g={opacity:0};g[f]=(d=="pos"?"-=":"+=")+c;a.animate(g,i/2,b.options.easing,function(){a.hide();e.effects.restore(a,l);e.effects.removeWrapper(a); -b.callback&&b.callback.apply(this,arguments)})}else{j={};k={};j[f]=(d=="pos"?"-=":"+=")+c;k[f]=(d=="pos"?"+=":"-=")+c;a.animate(j,i/2,b.options.easing).animate(k,i/2,b.options.easing,function(){e.effects.restore(a,l);e.effects.removeWrapper(a);b.callback&&b.callback.apply(this,arguments)})}a.queue("fx",function(){a.dequeue()});a.dequeue()})}})(jQuery); |