mediawiki-extensions-CodeMi.../resources/ve-cm/ve.ui.CodeMirror.init.js
Bartosz Dziewoński e439fb02eb Fix too many '..' in require()
Bug: T373065
Bug: T373153
Change-Id: Ia00add5d98173e2c3d8568e92c427864014e7257
2024-08-22 22:10:38 +00:00

8 lines
209 B
JavaScript

require( '../ext.CodeMirror.data.js' );
if ( mw.config.get( 'extCodeMirrorConfig' ).useV6 ) {
mw.loader.load( 'ext.CodeMirror.v6.visualEditor' );
} else {
mw.loader.load( 'ext.CodeMirror.visualEditor' );
}