Skip to content

Commit 34dae5e

Browse files
committed
Progresbar: Document multiple return types for value().
1 parent eb3b8ce commit 34dae5e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

entries/progressbar.xml

+3-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,9 @@
5151
<xi:include href="../includes/widget-method-option.xml" xmlns:xi="http://www.w3.org/2003/XInclude"/>
5252
<method name="value">
5353
<desc>Gets or sets the current value of the progressbar.</desc>
54-
<signature return="Number" example-return-var="progressSoFar">
54+
<signature example-return-var="progressSoFar">
55+
<return type="Number"/>
56+
<return type="Boolean"/>
5557
<desc>Gets the current value of the progressbar.</desc>
5658
</signature>
5759
<signature example-params='50'>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"grunt": "0.3.x",
2525
"grunt-clean": "0.3.0",
2626
"grunt-wordpress": "1.0.5",
27-
"grunt-jquery-content": "0.7.1",
27+
"grunt-jquery-content": "0.7.2",
2828
"grunt-check-modules": "0.1.0"
2929
},
3030
"devDependencies": {},

0 commit comments

Comments
 (0)