Sha256: 4398d0578b980bacf2f453e459343599b6ad9180286b1ebcbba918e3463610b8

Contents?: true

Size: 1.55 KB

Versions: 26

Compression:

Stored size: 1.55 KB

Contents

/*! jQuery UI - v1.9.2 - 2012-11-23
* http://jqueryui.com
* Includes: jquery.ui.progressbar.js
* Copyright 2012 jQuery Foundation and other contributors; Licensed MIT */
(function(e,t){e.widget("ui.progressbar",{version:"1.9.2",options:{value:0,max:100},min:0,_create:function(){this.element.addClass("ui-progressbar ui-widget ui-widget-content ui-corner-all").attr({role:"progressbar","aria-valuemin":this.min,"aria-valuemax":this.options.max,"aria-valuenow":this._value()}),this.valueDiv=e("<div class='ui-progressbar-value ui-widget-header ui-corner-left'></div>").appendTo(this.element),this.oldValue=this._value(),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"),this.valueDiv.remove()},value:function(e){return e===t?this._value():(this._setOption("value",e),this)},_setOption:function(e,t){e==="value"&&(this.options.value=t,this._refreshValue(),this._value()===this.options.max&&this._trigger("complete")),this._super(e,t)},_value:function(){var e=this.options.value;return typeof e!="number"&&(e=0),Math.min(this.options.max,Math.max(this.min,e))},_percentage:function(){return 100*this._value()/this.options.max},_refreshValue:function(){var e=this.value(),t=this._percentage();this.oldValue!==e&&(this.oldValue=e,this._trigger("change")),this.valueDiv.toggle(e>this.min).toggleClass("ui-corner-right",e===this.options.max).width(t.toFixed(0)+"%"),this.element.attr("aria-valuenow",e)}})})(jQuery);

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
RubyApp-0.7.16 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.15 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.14 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.13 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.12 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.11 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.10 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.9 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.5 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.4 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.3 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.2 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.1 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.7.0 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.71 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.70 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.69 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.68 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.67 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js
RubyApp-0.6.66 lib/ruby_app/resources/elements/mobile/document/jquery-ui-1.9.2.custom/development-bundle/ui/minified/jquery.ui.progressbar.min.js