X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=blobdiff_plain;f=resources%2Fsrc%2Fjquery.tablesorter%2Fjquery.tablesorter.js;h=a37bcf7b1d1cecf1f63991f3376b02e345a45e41;hp=6287126f6bd2209d9ffb55eda574ca2195c91f43;hb=fe94275c8fcfc248a5eae857dde7c5772d993ab5;hpb=38a0733fef96fd2f837144293b902d2e0353c955 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 ) ); +}() );