Skip to content

Commit 08e6cef

Browse files
AurelioDeRosakswedberg
authored andcommitted
.is(): Refer to 2nd argument of function argument. Fixes jquery#512. Closes jquery#517
1 parent 3306dc7 commit 08e6cef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

entries/is.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
<signature>
1111
<added>1.6</added>
1212
<argument name="function" type="Function">
13-
<desc>A function used as a test for the set of elements. It accepts one argument, <code>index</code>, which is the element's index in the jQuery collection. Within the function, <code>this</code> refers to the current DOM element. </desc>
13+
<desc>A function used as a test for every 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>
1414
<argument name="index" type="Integer" />
1515
<argument name="element" type="Element" />
1616
<return type="Boolean" />

0 commit comments

Comments
 (0)