Replace $.proxy by Function.prototype.bind
authorFomafix <fomafix@googlemail.com>
Tue, 4 Sep 2018 07:51:49 +0000 (09:51 +0200)
committerKrinkle <krinklemail@gmail.com>
Wed, 5 Sep 2018 20:50:11 +0000 (20:50 +0000)
commitebc85989184e601ff1662491c5232bb701751d74
treec3db80f3e23bfed7d09c950eeff2a9ef7df1d720
parent3e8829c5ea9ca71ca76f63da2e3ace591bfdb2cb
Replace $.proxy by Function.prototype.bind

Also prevent further usage by an eslint rule.

jQuery.proxy is deprecated:
* https://github.com/jquery/jquery/issues/2958

Bug: T200877
Change-Id: I3a4977f9b90c2104db320d2d939a1cbaa1819de0
.eslintrc.json
resources/src/mediawiki.api/messages.js
resources/src/mediawiki.special.preferences/confirmClose.js