X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.special.apisandbox%2Fapisandbox.js;h=48b3269bfaeb4a42c0a93cef667d88eb54ce894b;hb=2f5d88819799f077f4d3a3288dad104141692f20;hp=beac624ee9ce3bfe43937e159006808f723465aa;hpb=2f86f8dbb97a00756916fe4d1ad2adcf49702c16;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.special.apisandbox/apisandbox.js b/resources/src/mediawiki.special.apisandbox/apisandbox.js index beac624ee9..48b3269bfa 100644 --- a/resources/src/mediawiki.special.apisandbox/apisandbox.js +++ b/resources/src/mediawiki.special.apisandbox/apisandbox.js @@ -1,5 +1,5 @@ /* eslint-disable no-restricted-properties */ -( function ( $, mw, OO ) { +( function () { 'use strict'; var ApiSandbox, Util, WidgetMethods, Validators, $content, panel, booklet, oldhash, windowManager, @@ -1597,6 +1597,7 @@ } toRemove = {}; + // eslint-disable-next-line no-restricted-properties $.each( this.templatedItemsCache, function ( k, el ) { if ( el.widget.isElementAttached() ) { toRemove[ k ] = el; @@ -2071,4 +2072,4 @@ module.exports = ApiSandbox; -}( jQuery, mediaWiki, OO ) ); +}() );