We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e1bf5ff commit d237d34Copy full SHA for d237d34
page/jquery-ui/widget-factory/how-to-use-the-widget-factory.md
@@ -90,12 +90,12 @@ prepending an underscore to the function name.
90
// no value passed, act as a getter
91
if ( value === undefined ) {
92
return this.options.value;
93
- // value passed, act as a setter
94
- } else {
95
- this.options.value = this._constrain( value );
96
- var progress = this.options.value + "%";
97
- this.element.text( progress );
98
}
+
+ // value passed, act as a setter
+ this.options.value = this._constrain( value );
+ var progress = this.options.value + "%";
+ this.element.text( progress );
99
},
100
// create a private method
101
_constrain: function( value ) {
0 commit comments