dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "resourceloader: Simplify StringSet fallback"
[lhc/web/wiklou.git]
/
resources
/
src
/
mediawiki.special.apisandbox
/
apisandbox.js
diff --git
a/resources/src/mediawiki.special.apisandbox/apisandbox.js
b/resources/src/mediawiki.special.apisandbox/apisandbox.js
index
beac624
..
48b3269
100644
(file)
--- 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 */
/* eslint-disable no-restricted-properties */
-( function (
$, mw, OO
) {
+( function () {
'use strict';
var ApiSandbox, Util, WidgetMethods, Validators,
$content, panel, booklet, oldhash, windowManager,
'use strict';
var ApiSandbox, Util, WidgetMethods, Validators,
$content, panel, booklet, oldhash, windowManager,
@@
-1597,6
+1597,7
@@
}
toRemove = {};
}
toRemove = {};
+ // eslint-disable-next-line no-restricted-properties
$.each( this.templatedItemsCache, function ( k, el ) {
if ( el.widget.isElementAttached() ) {
toRemove[ k ] = el;
$.each( this.templatedItemsCache, function ( k, el ) {
if ( el.widget.isElementAttached() ) {
toRemove[ k ] = el;
@@
-2071,4
+2072,4
@@
module.exports = ApiSandbox;
module.exports = ApiSandbox;
-}(
jQuery, mediaWiki, OO
) );
+}() );