mediawiki-skins-Vector/resources/skins.vector.legacy.js/skin-legacy.js
Jon Robson 48d8ad0415 Forbid jQuery in new code
Follow up to I9d07acffa6f8133ec3e44ceba3d1fa5b27b81258

Change-Id: I5240c414cc4f4e4cc832647791b4a2c96acbc845
2023-06-13 15:45:43 -07:00

16 lines
438 B
JavaScript

/* eslint-disable no-jquery/no-jquery-constructor */
/** @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();