Skip to content

Commit a6b3b6f

Browse files
AurelioDeRosakswedberg
authored andcommitted
jQuery.getJSON: Update data argument. Can take string.
1 parent d2c4f7a commit a6b3b6f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

entries/jQuery.getJSON.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@
66
<argument name="url" type="String">
77
<desc>A string containing the URL to which the request is sent.</desc>
88
</argument>
9-
<argument name="data" optional="true" type="PlainObject">
9+
<argument name="data" optional="true">
10+
<type name="PlainObject"/>
11+
<type name="String"/>
1012
<desc>A plain object or string that is sent to the server with the request.</desc>
1113
</argument>
1214
<argument name="success" optional="true" type="Function">

0 commit comments

Comments
 (0)