Skip to content

Commit 9f45093

Browse files
Jake Hardingkswedberg
Jake Harding
authored andcommitted
Fix incorrect argument type for dataFilter. Closes jquery#257
1 parent 08bc455 commit 9f45093

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/jQuery.ajax.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<desc>Data to be sent to the server. It is converted to a query string, if not already a string. It's appended to the url for GET-requests. See <code>processData</code> option to prevent this automatic processing. Object must be Key/Value pairs. If value is an Array, jQuery serializes multiple values with same key based on the value of the <code>traditional</code> setting (described below).</desc>
6161
</property>
6262
<property name="dataFilter" type="Function">
63-
<argument name="data" type="PlainObject"/>
63+
<argument name="data" type="String"/>
6464
<argument name="type" type="String"/>
6565
<return type="Object"/>
6666
<desc>A function to be used to handle the raw response data of XMLHttpRequest.This is a pre-filtering function to sanitize the response. You should return the sanitized data. The function accepts two arguments: The raw data returned from the server and the 'dataType' parameter.</desc>

0 commit comments

Comments
 (0)