* @class mw.Uri
*/
-( function ( mw, $ ) {
+( function () {
var parser, properties;
/**
*/
getQueryString: function () {
var args = [];
- // eslint-disable-next-line no-restricted-properties
+ // eslint-disable-next-line jquery/no-each-util
$.each( this.query, function ( key, val ) {
var k = Uri.encode( key ),
vals = Array.isArray( val ) ? val : [ val ];
return location.href;
} );
-}( mediaWiki, jQuery ) );
+}() );