X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=resources%2Fsrc%2Fmediawiki.api%2Findex.js;h=f1685159e1dfb4794af13d59c233b4cf9ee52654;hb=3e4e0a5774cb7531c8be7516e57550477489753d;hp=81c55e80193cc78ff734a154632e1bcfb8798116;hpb=65f41c7a57234602b7fab4b63a7040da76da498e;p=lhc%2Fweb%2Fwiklou.git diff --git a/resources/src/mediawiki.api/index.js b/resources/src/mediawiki.api/index.js index 81c55e8019..f1685159e1 100644 --- a/resources/src/mediawiki.api/index.js +++ b/resources/src/mediawiki.api/index.js @@ -53,7 +53,7 @@ // Pre-populate with fake ajax promises to save http requests for tokens // we already have on the page via the user.tokens module (T36733). promises[ defaultOptions.ajax.url ] = {}; - // eslint-disable-next-line no-restricted-properties + // eslint-disable-next-line jquery/no-each-util $.each( mw.user.tokens.get(), function ( key, value ) { // This requires #getToken to use the same key as user.tokens. // Format: token-type + "Token" (eg. csrfToken, patrolToken, watchToken).