diff --git a/ui/progressbar.js b/ui/progressbar.js index d6127950e..69e550c58 100644 --- a/ui/progressbar.js +++ b/ui/progressbar.js @@ -16,11 +16,11 @@ //>>css.structure: ../themes/base/progressbar.css //>>css.theme: ../themes/base/theme.css -(function( factory ) { +( function( factory ) { if ( typeof define === "function" && define.amd ) { // AMD. Register as an anonymous module. - define([ + define( [ "jquery", "./core", "./widget" @@ -30,7 +30,7 @@ // Browser globals factory( jQuery ); } -}(function( $ ) { +}( function( $ ) { return $.widget( "ui.progressbar", { version: "@VERSION", @@ -54,13 +54,13 @@ return $.widget( "ui.progressbar", { // Constrain initial value this.oldValue = this.options.value = this._constrainedValue(); - this.element.attr({ + this.element.attr( { // Only set static values; aria-valuenow and aria-valuemax are // set inside _refreshValue() role: "progressbar", "aria-valuemin": this.min - }); + } ); this._addClass( "ui-progressbar", "ui-widget ui-widget-content" ); this.valueDiv = $( "