From a6c043b1aa6258292826eb784fdcc422feb0649f Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 31 Oct 2010 22:02:20 +0000 Subject: #916968 by drifter, mfer, amateescu, et al: Upgrade to jQuery UI 1.8.6 (latest point release). --- misc/ui/jquery.effects.bounce.min.js | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'misc/ui/jquery.effects.bounce.min.js') diff --git a/misc/ui/jquery.effects.bounce.min.js b/misc/ui/jquery.effects.bounce.min.js index 28978a32a..bc0c8ead5 100644 --- a/misc/ui/jquery.effects.bounce.min.js +++ b/misc/ui/jquery.effects.bounce.min.js @@ -1,15 +1,17 @@ // $Id$ /* - * jQuery UI Effects Bounce 1.8 + * jQuery UI Effects Bounce 1.8.6 * - * Copyright (c) 2010 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. + * 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(a){a.effects.bounce=function(b){return this.queue(function(){var e=a(this),l=["position","top","left"];var k=a.effects.setMode(e,b.options.mode||"effect");var n=b.options.direction||"up";var c=b.options.distance||20;var d=b.options.times||5;var g=b.duration||250;if(/show|hide/.test(k)){l.push("opacity")}a.effects.save(e,l);e.show();a.effects.createWrapper(e);var f=(n=="up"||n=="down")?"top":"left";var p=(n=="up"||n=="left")?"pos":"neg";var c=b.options.distance||(f=="top"?e.outerHeight({margin:true})/3:e.outerWidth({margin:true})/3);if(k=="show"){e.css("opacity",0).css(f,p=="pos"?-c:c)}if(k=="hide"){c=c/(d*2)}if(k!="hide"){d--}if(k=="show"){var h={opacity:1};h[f]=(p=="pos"?"+=":"-=")+c;e.animate(h,g/2,b.options.easing);c=c/2;d--}for(var j=0;j