Merge "Show password policy flags on Special:PasswordPolicies"
[lhc/web/wiklou.git] / resources / src / mediawiki.api / index.js
index 81c55e8..0613023 100644 (file)
@@ -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 no-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).