{I" class:ETI"ProcessedAsset; FI"logical_path; TI"jquery.ui.progressbar.js; FI" pathname; TI"n/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.progressbar.js; FI"content_type; TI"application/javascript; TI" mtime; Tl+SçTI"length; Ti, I"digest; TI"%34b438cd9e5d8c9258272733cfb5a829; FI"source; TI", /*! * jQuery UI Progressbar 1.10.3 * http://jqueryui.com * * Copyright 2013 jQuery Foundation and other contributors * Released under the MIT license. * http://jquery.org/license * * http://api.jqueryui.com/progressbar/ * * Depends: * jquery.ui.core.js * jquery.ui.widget.js */ (function( $, undefined ) { $.widget( "ui.progressbar", { version: "1.10.3", 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 ); } 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" ); } } }); })( jQuery ); ; TI"dependency_digest; TI"%d707ddb68c2101d9aa4bd139bdb636b7; FI"required_paths; T[I"g/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.core.js; FI"i/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.widget.js; FI"n/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.progressbar.js; FI"dependency_paths; T[{I" path; TI"n/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.progressbar.js; FI" mtime; TI"2014-09-04T18:27:31-04:00; TI"digest; TI"%6f2aa456b55c96b6d11e7410d77104bd; F{@I"g/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.core.js; F@!I"2014-09-04T18:27:30-04:00; T@#I"%3481cdbd4a8726173e7341af674f81f6; F{@I"i/usr/local/rvm/gems/ruby-2.1.2/gems/jquery-ui-rails-4.1.2/app/assets/javascripts/jquery.ui.widget.js; F@!I"2014-09-04T18:27:31-04:00; T@#I"%544a653d0a2e148d2eb5eec7820b6b5e; FI" _version; TI"%5ef14a844324cba3e114bd0123f88a5e; F