MediaWiki:Gadget-calc.js: Difference between revisions

From RuneRealm Wiki
Jump to navigation Jump to search
Content added Content deleted
No edit summary
No edit summary
Line 2: Line 2:
if ($('.jcConfig').length) {
if ($('.jcConfig').length) {
//mw.loader.load( 'ext.gadget.calc-core' );
//mw.loader.load( 'ext.gadget.calc-core' );
mw.loader.load( '/w/MediaWiki:Gadget-calc-core.js' );
mw.loader.load( '/js/calc-core.js' );
//mw.loader.load( '/images/es6test.js' );
//mw.loader.load( '/images/es6test.js' );
}
}

Revision as of 18:26, 18 October 2024

$(function () {
	if ($('.jcConfig').length) {
		//mw.loader.load( 'ext.gadget.calc-core' );
		mw.loader.load( '/js/calc-core.js' );
		//mw.loader.load( '/images/es6test.js' );
	}
})