mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-29 01:45:00 +00:00
87dd101a69
* Upgrade @wikimedia/types-wikimedia to allow us to drop several @ts-ignores * Merges eslint rules now that ES6 is default everywhere * Runs autofix command * Fixes various prefer-const errors Change-Id: Iee5bcb93f10a76d80dbeec813f6387c13438263e
15 lines
385 B
JavaScript
15 lines
385 B
JavaScript
/** @interface MediaWikiPageReadyModule */
|
|
const
|
|
collapsibleTabs = require( './collapsibleTabs.js' ),
|
|
/** @type {MediaWikiPageReadyModule} */
|
|
pageReady = require( /** @type {string} */( 'mediawiki.page.ready' ) ),
|
|
vector = require( './vector.js' );
|
|
|
|
function main() {
|
|
collapsibleTabs.init();
|
|
$( vector.init );
|
|
pageReady.loadSearchModule( 'mediawiki.searchSuggest' );
|
|
}
|
|
|
|
main();
|