{I" class:ETI"ProcessedAsset;FI"logical_path;TI"jquery-ui/progressbar.js;FI" pathname;TI"/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/progressbar.js;FI"content_type;TI"application/javascript;TI" mtime;Tl+" ) .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" ); } } }); })); ;TI"dependency_digest;TI"%dc343d6082925ed1263445b894141752;FI"required_paths;T[I"/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/core.js;FI"|/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/widget.js;FI"/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/progressbar.js;FI"dependency_paths;T[{I" path;TI"/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/progressbar.js;FI" mtime;TI"2014-08-21T17:23:08-04:00;TI" digest;TI"%745168451ba190c60a51b339d214fb15;F{@I"/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/core.js;F@!I"2014-08-21T17:23:08-04:00;T@#I"%ad7c7776f3ee907d44f2dc08cbcf5d0b;F{@I"|/Users/james/.rbenv/versions/2.1.2/lib/ruby/gems/2.1.0/gems/jquery-ui-rails-5.0.0/app/assets/javascripts/jquery-ui/widget.js;F@!I"2014-08-21T17:23:08-04:00;T@#I"%d6e208f2fc7c93e326d0ed4ae80449ea;FI" _version;TI"%7ea39fbd96a2fa436855b2c797aedb88;F