resources: Strip '$' and 'mw' from file closures
[lhc/web/wiklou.git] / resources / src / jquery.tablesorter / jquery.tablesorter.js
index 6287126..a37bcf7 100644 (file)
@@ -43,7 +43,7 @@
  *
  * @author Christian Bach/christian.bach@polyester.se
  */
-( function ( $, mw ) {
+( function () {
        var ts,
                parsers = [];
 
 
                        // 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;
        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 ] );
                type: 'numeric'
        } );
 
-}( jQuery, mediaWiki ) );
+}() );