Skip to content

Commit c24d60b

Browse files
togakangarooarthurvr
authored andcommitted
jQuery.get, jQuery post: add new config object signature
Fixes gh-620 Closes gh-622
1 parent eb06b0e commit c24d60b

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

entries/jQuery.get.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?xml version="1.0"?>
22
<entry type="method" name="jQuery.get" return="jqXHR">
33
<title>jQuery.get()</title>
4+
<signature>
5+
<added>3.0</added>
6+
<argument name="settings" type="PlainObject" optional="false">
7+
<desc>A set of key/value pairs that configure the Ajax request. All properties except for <code>url</code> are optional. A default can be set for any option with <a href="/jQuery.ajaxSetup/">$.ajaxSetup()</a>. See <a href="/jquery.ajax/#jQuery-ajax-settings">jQuery.ajax( settings )</a> for a complete list of all settings. The type option will automatically be set to <code>POST</code>.</desc>
8+
</argument>
9+
</signature>
410
<signature>
511
<added>1.0</added>
612
<argument name="url" type="String">

entries/jQuery.post.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
<?xml version="1.0"?>
22
<entry type="method" name="jQuery.post" return="jqXHR">
33
<title>jQuery.post()</title>
4+
<signature>
5+
<added>3.0</added>
6+
<argument name="settings" type="PlainObject" optional="false">
7+
<desc>A set of key/value pairs that configure the Ajax request. All properties except for <code>url</code> are optional. A default can be set for any option with <a href="/jQuery.ajaxSetup/">$.ajaxSetup()</a>. See <a href="/jquery.ajax/#jQuery-ajax-settings">jQuery.ajax( settings )</a> for a complete list of all settings. Type will automatically be set to <code>POST</code>.</desc>
8+
</argument>
9+
</signature>
410
<signature>
511
<added>1.0</added>
612
<argument name="url" type="String">

0 commit comments

Comments
 (0)