Skip to content

Commit d24199e

Browse files
committed
Make callbacks.fireWith signature match jquery#3844
1 parent 9cd5bc6 commit d24199e

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

entries/callbacks.fireWith.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@
33
<title>callbacks.fireWith()</title>
44
<signature>
55
<added>1.7</added>
6-
<argument name="context" optional="true" type="Anything">
6+
<argument name="context" optional="true" type="Object">
77
<desc>A reference to the context in which the callbacks in the list should be fired.</desc>
88
</argument>
9-
<argument name="args" optional="true" type="Array">
10-
<desc>An array of arguments to pass to the callbacks in the list. If omitted or undefined, no arguments will be passed.</desc>
9+
<argument name="args" optional="true">
10+
<desc>An argument, or array of arguments, to pass to the callbacks in the list.</desc>
11+
<type name="Array"/>
12+
<type name="Anything"/>
1113
</argument>
1214
</signature>
1315
<desc>Call all callbacks in a list with the given context and arguments.</desc>

0 commit comments

Comments
 (0)