Skip to content

Commit ebc7dbc

Browse files
AurelioDeRosakswedberg
authored andcommitted
.not(): Improve documentation for Function parameter. Closes #518
1 parent 3fc31d0 commit ebc7dbc

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

entries/not.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<signature>
1414
<added>1.4</added>
1515
<argument name="function" type="Function">
16-
<desc>A function used as a test for each element in the set. <code>this</code> is the current DOM element.</desc>
16+
<desc>A function used as a test for each element in the set. It accepts two arguments, <code>index</code>, which is the element's index in the jQuery collection, and <code>element</code>, which is the DOM element. Within the function, <code>this</code> refers to the current DOM element.</desc>
1717
<argument name="index" type="Integer" />
1818
<argument name="element" type="Element" />
1919
<return type="Boolean" />

0 commit comments

Comments
 (0)