Merge pull request #2527 from thasner/master

added second argument "element" to $.filter
This commit is contained in:
Basarat Ali Syed
2014-07-21 22:34:22 +10:00
+1 -1
View File
@@ -3655,7 +3655,7 @@ interface JQuery {
*
* @param func A function used as a test for each element in the set. this is the current DOM element.
*/
filter(func: (index: number) => any): JQuery;
filter(func: (index: number, element: Element) => any): JQuery;
/**
* Reduce the set of matched elements to those that match the selector or pass the function's test.
*