mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-27 17:40:06 +00:00
Merge "eslint: Enable no-proxy rule"
This commit is contained in:
commit
7178e76d37
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue