X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;ds=sidebyside;f=resources%2Fsrc%2Fjquery.tablesorter%2Fjquery.tablesorter.js;h=a37bcf7b1d1cecf1f63991f3376b02e345a45e41;hb=2f5d88819799f077f4d3a3288dad104141692f20;hp=6287126f6bd2209d9ffb55eda574ca2195c91f43;hpb=5354c219cd436583c0a0e401718018e8569f84e2;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/jquery.tablesorter/jquery.tablesorter.js b/resources/src/jquery.tablesorter/jquery.tablesorter.js index 6287126f6b..a37bcf7b1d 100644 --- a/resources/src/jquery.tablesorter/jquery.tablesorter.js +++ b/resources/src/jquery.tablesorter/jquery.tablesorter.js @@ -43,7 +43,7 @@ * * @author Christian Bach/christian.bach@polyester.se */ -( function ( $, mw ) { +( function () { var ts, parsers = []; @@ -324,6 +324,7 @@ // Loop through all the dom cells of the thead $tableRows.each( function ( rowIndex, row ) { + // eslint-disable-next-line no-restricted-properties $.each( row.cells, function ( columnIndex, cell ) { var matrixRowIndex, matrixColumnIndex; @@ -770,6 +771,7 @@ function convertSortList( sortObjects ) { var sortList = []; sortObjects.forEach( function ( sortObject ) { + // eslint-disable-next-line no-restricted-properties $.each( sortObject, function ( columnIndex, order ) { var orderIndex = ( order === 'desc' ) ? 1 : 0; sortList.push( [ parseInt( columnIndex, 10 ), orderIndex ] ); @@ -1279,4 +1281,4 @@ type: 'numeric' } ); -}( jQuery, mediaWiki ) ); +}() );