User:Uraxys/common.js: Difference between revisions

From Idle Clans wiki
mNo edit summary
No edit summary
Line 1: Line 1:
console.log("Pre load");
$(document).ready(function () {
    console.log("DOM ready");
});
// Testing
// Testing
mw.loader.load('//wiki.idleclans.com/index.php?title=User:Uraxys/scripts/test.js&action=raw&ctype=text/javascript');
// mw.loader.load('//wiki.idleclans.com/index.php?title=User:Uraxys/scripts/test.js&action=raw&ctype=text/javascript');


console.log("Post load");
// Localhost development
mw.loader.load('http://mediawiki.localhost/mediawiki.js');

Revision as of 17:22, 27 May 2024

// Testing
// mw.loader.load('//wiki.idleclans.com/index.php?title=User:Uraxys/scripts/test.js&action=raw&ctype=text/javascript');

// Localhost development
mw.loader.load('http://mediawiki.localhost/mediawiki.js');