wikimedia/mediawiki-extensions-MobileFrontend

View on GitHub
src/mobile.languages.structured/mobile.languages.structured.js

Summary

Maintainability
A
0 mins
Test Coverage
const
    m = require( '../mobile.startup/moduleLoaderSingleton' ),
    LanguageSearcher = require( './LanguageSearcher' );

// Needed because LanguageSearcher is lazy loaded, and if we try to use require
// (instead of m.require), webpack will excise it into mobile.common.
m.define( 'mobile.languages.structured/LanguageSearcher', LanguageSearcher );