From c4f529917391bc0ea2aabcca99b2bf64c41470aa Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Sun, 21 Mar 2010 03:47:32 +0000 Subject: #679036 by marvil07, mfer, Rob Loach, et al: Upgrade to jQuery UI 1.8. --- misc/ui/effects.fold.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 misc/ui/effects.fold.js (limited to 'misc/ui/effects.fold.js') diff --git a/misc/ui/effects.fold.js b/misc/ui/effects.fold.js deleted file mode 100644 index 365b7f2c2..000000000 --- a/misc/ui/effects.fold.js +++ /dev/null @@ -1,15 +0,0 @@ -// $Id$ - -/* - * jQuery UI Effects Fold 1.7.2 - * - * Copyright (c) 2009 AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT (MIT-LICENSE.txt) - * and GPL (GPL-LICENSE.txt) licenses. - * - * http://docs.jquery.com/UI/Effects/Fold - * - * Depends: - * effects.core.js - */ -(function(a){a.effects.fold=function(b){return this.queue(function(){var e=a(this),k=["position","top","left"];var h=a.effects.setMode(e,b.options.mode||"hide");var o=b.options.size||15;var n=!(!b.options.horizFirst);var g=b.duration?b.duration/2:a.fx.speeds._default/2;a.effects.save(e,k);e.show();var d=a.effects.createWrapper(e).css({overflow:"hidden"});var i=((h=="show")!=n);var f=i?["width","height"]:["height","width"];var c=i?[d.width(),d.height()]:[d.height(),d.width()];var j=/([0-9]+)%/.exec(o);if(j){o=parseInt(j[1],10)/100*c[h=="hide"?0:1]}if(h=="show"){d.css(n?{height:0,width:o}:{height:o,width:0})}var m={},l={};m[f[0]]=h=="show"?c[0]:o;l[f[1]]=h=="show"?c[1]:0;d.animate(m,g,b.options.easing).animate(l,g,b.options.easing,function(){if(h=="hide"){e.hide()}a.effects.restore(e,k);a.effects.removeWrapper(e);if(b.callback){b.callback.apply(e[0],arguments)}e.dequeue()})})}})(jQuery); \ No newline at end of file -- cgit v1.2.3