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/ui.progressbar.js | 15 --------------- 1 file changed, 15 deletions(-) delete mode 100644 misc/ui/ui.progressbar.js (limited to 'misc/ui/ui.progressbar.js') diff --git a/misc/ui/ui.progressbar.js b/misc/ui/ui.progressbar.js deleted file mode 100644 index cb409acaa..000000000 --- a/misc/ui/ui.progressbar.js +++ /dev/null @@ -1,15 +0,0 @@ -// $Id$ - -/* - * jQuery UI Progressbar 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/Progressbar - * - * Depends: - * ui.core.js - */ -(function(a){a.widget("ui.progressbar",{_init:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this._valueMin(),"aria-valuemax":this._valueMax(),"aria-valuenow":this._value()});this.valueDiv=a('
').appendTo(this.element);this._refreshValue()},destroy:function(){this.element.removeClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").removeAttr("role").removeAttr("aria-valuemin").removeAttr("aria-valuemax").removeAttr("aria-valuenow").removeData("progressbar").unbind(".progressbar");this.valueDiv.remove();a.widget.prototype.destroy.apply(this,arguments)},value:function(b){if(b===undefined){return this._value()}this._setData("value",b);return this},_setData:function(b,c){switch(b){case"value":this.options.value=c;this._refreshValue();this._trigger("change",null,{});break}a.widget.prototype._setData.apply(this,arguments)},_value:function(){var b=this.options.value;if(bthis._valueMax()){b=this._valueMax()}return b},_valueMin:function(){var b=0;return b},_valueMax:function(){var b=100;return b},_refreshValue:function(){var b=this.value();this.valueDiv[b==this._valueMax()?"addClass":"removeClass"]("ui-corner-right");this.valueDiv.width(b+"%");this.element.attr("aria-valuenow",b)}});a.extend(a.ui.progressbar,{version:"1.7.2",defaults:{value:0}})})(jQuery); \ No newline at end of file -- cgit v1.2.3