Merge "eslint: Enable no-proxy rule"

This commit is contained in:
jenkins-bot 2019-09-28 21:37:15 +00:00 committed by Gerrit Code Review
commit 7178e76d37
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;