eslint: Enable no-proxy rule

Change-Id: I54e0073c0f35db110add7518e888081af19cd069
This commit is contained in:
Ed Sanders 2019-09-20 13:25:10 +01:00
parent 6896043426
commit 5da05073f1
2 changed files with 1 additions and 3 deletions

View file

@ -14,7 +14,6 @@
"no-jquery/no-class-state": "off",
"no-jquery/no-noop": "off",
"no-jquery/no-now": "off",
"no-jquery/no-proxy": "off",
"no-jquery/no-support": "off"
}
}

View file

@ -57,8 +57,7 @@
// find and setup all thumbs on this page
// this will run initially and then every time the content changes,
// e.g. via a VE edit or pagination in a multipage file
mw.hook( 'wikipage.content' ).add( $.proxy( this, 'processThumbs' ) );
mw.hook( 'wikipage.content' ).add( this.processThumbs.bind( this ) );
}
MMVB = MultimediaViewerBootstrap.prototype;