Skip to content

Commit 3ea151b

Browse files
committed
Upgrade to grunt-jquery-content 0.10.4.
1 parent 29f76de commit 3ea151b

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

entries/checkboxradio.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -215,12 +215,15 @@
215215
<desc>disable a checkboxradio.
216216
</desc>
217217
</method>
218-
<method name="refresh">
219-
<example>$( ".selector" ).prop( "checked", true ).checkboxradio( "refresh" );</example>
220-
221-
<desc>update the checkboxradio.
218+
<method name="refresh" suppress-auto-examples="true">
219+
<desc>
220+
<p>update the checkboxradio.</p>
222221
<p>If you manipulate a checkboxradio via JavaScript, you must call the refresh method on it to update the visual styling. </p>
223222
</desc>
223+
<example>
224+
<desc>Invoke the refresh method after changing the <code>checked</code> property:</desc>
225+
<code>$( ".selector" ).prop( "checked", true ).checkboxradio( "refresh" );</code>
226+
</example>
224227
</method>
225228
</methods>
226229
<example>

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"grunt": "0.3.17",
2323
"grunt-clean": "0.3.0",
2424
"grunt-wordpress": "1.0.7",
25-
"grunt-jquery-content": "0.9.0",
25+
"grunt-jquery-content": "0.10.4",
2626
"grunt-check-modules": "0.1.0",
2727
"grunt-contrib-watch": "0.1.4"
2828
},

0 commit comments

Comments
 (0)