Merge "Revert "Log the reason why revision->getContent() returns null""
[lhc/web/wiklou.git] / tests / qunit / suites / resources / jquery / jquery.tablesorter.test.js
index c88941e..23ef26f 100644 (file)
                        [ '$ 1.50' ],
                        [ '$ 3.00' ],
                        [ '$3.50' ],
-                       // Comma's sort after dots
+                       // Commas sort after dots
                        // Not intentional but test to detect changes
                        [ '€ 2,99' ]
                ],
                ],
                isoDateSortingSorted = [
                        [ '2009' ],
-                       [ '2009-12-25T12:30:45' ],
                        [ '2009-12-25T12:30:45+01:00' ],
+                       [ '2009-12-25T12:30:45' ],
                        [ '2009-12-25T12:30:45.001Z' ],
                        [ '2009-12-25T12:30:45.111' ],
                        [ '2010-01-31' ],
                        $tbody = $table.find( 'tbody' ),
                        $tr = $( '<tr>' );
 
-               $.each( header, function ( i, str ) {
+               header.forEach( function ( str ) {
                        var $th = $( '<th>' );
                        $th.text( str ).appendTo( $tr );
                } );
                for ( i = 0; i < data.length; i++ ) {
                        $tr = $( '<tr>' );
                        // eslint-disable-next-line no-loop-func
-                       $.each( data[ i ], function ( j, str ) {
+                       data[ i ].forEach( function ( str ) {
                                var $td = $( '<td>' );
                                $td.text( str ).appendTo( $tr );
                        } );