MediaWiki

Gadget-GadgetLoaderVEsandbox.js

From Dogcraft Wiki

No edit summary
No edit summary
 
Line 1: Line 1:
mw.libs.ve.addPlugin( 'ext.gadget.VEsandbox' );
mw.libs.ve.addPlugin( 'ext.gadget.VEColnodeCE' );
mw.libs.ve.addPlugin( 'ext.gadget.VEColnodeDM' );
mw.libs.ve.addPlugin( function() {
return mw.loader.using( [ 'ext.visualEditor.core', 'ext.gadget.VEColnodeCE', 'ext.gadget.VEColnodeDM' ] ).then( function() {
return 'ext.gadget.VEsandbox';
} );
} );
console.log('loader loaded')
console.log('loader loaded')

Latest revision as of 22:55, 17 May 2022

mw.libs.ve.addPlugin( 'ext.gadget.VEColnodeCE' );
mw.libs.ve.addPlugin( 'ext.gadget.VEColnodeDM' );
mw.libs.ve.addPlugin( function() {
	return mw.loader.using( [ 'ext.visualEditor.core', 'ext.gadget.VEColnodeCE', 'ext.gadget.VEColnodeDM' ] ).then( function() {
		return 'ext.gadget.VEsandbox';
	} );
} );
console.log('loader loaded')