/home/techb158/workloadmatch.com/workloadmatch.com/bower_components/jquery-ui/ui
NameSizeModeActions
i18n/-0755rm
minified/-0755rm
.jshintrc3360644editdlrm
accordion.js150210644editdlrm
autocomplete.js163860644editdlrm
button.js113270644editdlrm
core.js76620644editdlrm
datepicker.js779730644editdlrm
dialog.js218050644editdlrm
draggable.js349940644editdlrm
droppable.js116560644editdlrm
effect-blind.js21010644editdlrm
effect-bounce.js29660644editdlrm
effect-clip.js16450644editdlrm
effect-drop.js16510644editdlrm
effect-explode.js25810644editdlrm
effect-fade.js7330644editdlrm
effect-fold.js18750644editdlrm
effect-highlight.js11790644editdlrm
effect-puff.js12360644editdlrm
effect-pulsate.js15510644editdlrm
effect-scale.js20030644editdlrm
effect-shake.js21290644editdlrm
effect-size.js62360644editdlrm
effect-slide.js16490644editdlrm
effect-transfer.js14100644editdlrm
effect.js322830644editdlrm
menu.js169800644editdlrm
mouse.js53430644editdlrm
position.js160920644editdlrm
progressbar.js36660644editdlrm
resizable.js285840644editdlrm
selectable.js71360644editdlrm
selectmenu.js137640644editdlrm
slider.js192050644editdlrm
sortable.js433800644editdlrm
spinner.js129090644editdlrm
tabs.js231280644editdlrm
tooltip.js130450644editdlrm
widget.js158140644editdlrm
Edit: /home/techb158/workloadmatch.com/workloadmatch.com/bower_components/jquery-ui/ui/progressbar.js (3666B)
/*! * jQuery UI Progressbar 1.11.4 * http://jqueryui.com * * Copyright jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/progressbar/ */ (function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. define([ "jquery", "./core", "./widget" ], factory ); } else { // Browser globals factory( jQuery ); } }(function( $ ) { return $.widget( "ui.progressbar", { version: "1.11.4", options: { max: 100, value: 0, change: null, complete: null }, min: 0, _create: function() { // Constrain initial value this.oldValue = this.options.value = this._constrainedValue(); this.element .addClass( "ui-progressbar ui-widget ui-widget-content ui-corner-all" ) .attr({ // Only set static values, aria-valuenow and aria-valuemax are // set inside _refreshValue() role: "progressbar", "aria-valuemin": this.min }); this.valueDiv = $( "
" ) .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" ); this.valueDiv.remove(); }, value: function( newValue ) { if ( newValue === undefined ) { return this.options.value; } this.options.value = this._constrainedValue( newValue ); this._refreshValue(); }, _constrainedValue: function( newValue ) { if ( newValue === undefined ) { newValue = this.options.value; } this.indeterminate = newValue === false; // sanitize value if ( typeof newValue !== "number" ) { newValue = 0; } return this.indeterminate ? false : Math.min( this.options.max, Math.max( this.min, newValue ) ); }, _setOptions: function( options ) { // Ensure "value" option is set after other values (like max) var value = options.value; delete options.value; this._super( options ); this.options.value = this._constrainedValue( value ); this._refreshValue(); }, _setOption: function( key, value ) { if ( key === "max" ) { // Don't allow a max less than min value = Math.max( this.min, value ); } if ( key === "disabled" ) { this.element .toggleClass( "ui-state-disabled", !!value ) .attr( "aria-disabled", value ); } this._super( key, value ); }, _percentage: function() { return this.indeterminate ? 100 : 100 * ( this.options.value - this.min ) / ( this.options.max - this.min ); }, _refreshValue: function() { var value = this.options.value, percentage = this._percentage(); this.valueDiv .toggle( this.indeterminate || value > this.min ) .toggleClass( "ui-corner-right", value === this.options.max ) .width( percentage.toFixed(0) + "%" ); this.element.toggleClass( "ui-progressbar-indeterminate", this.indeterminate ); if ( this.indeterminate ) { this.element.removeAttr( "aria-valuenow" ); if ( !this.overlayDiv ) { this.overlayDiv = $( "
" ).appendTo( this.valueDiv ); } } else { this.element.attr({ "aria-valuemax": this.options.max, "aria-valuenow": value }); if ( this.overlayDiv ) { this.overlayDiv.remove(); this.overlayDiv = null; } } if ( this.oldValue !== value ) { this.oldValue = value; this._trigger( "change" ); } if ( value === this.options.max ) { this._trigger( "complete" ); } } }); }));