Skip to content

Commit 9f29995

Browse files
committed
jQuery.get: note required callback arg if dataType is provided
Fixes gh-351 Closes gh-691
1 parent 89d7028 commit 9f29995

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.get.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
<argument name="data" type="PlainObject" />
2222
<argument name="textStatus" type="String"/>
2323
<argument name="jqXHR" type="jqXHR"/>
24-
<desc>A callback function that is executed if the request succeeds.</desc>
24+
<desc>A callback function that is executed if the request succeeds. Required if <code>dataType</code> is provided, but you can use <code>null</code> or <a href="/jQuery.noop/"><code>jQuery.noop</code></a> as a placeholder.</desc>
2525
</argument>
2626
<argument name="dataType" optional="true" type="String">
2727
<desc>The type of data expected from the server. Default: Intelligent Guess (xml, json, script, or html).</desc>

0 commit comments

Comments
 (0)