MediaWiki:Common.js: Difference between revisions

From SUDEP Wiki
Jump to navigation Jump to search
Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: $(function () { mw.loader.load('https://d3js.org/d3.v2.min.js?2.9.3'); mw.loader.load('/index.php?..."
 
No edit summary
 
Line 2: Line 2:
$(function () {
$(function () {
mw.loader.load('https://d3js.org/d3.v2.min.js?2.9.3');
mw.loader.load('https://d3js.org/d3.v2.min.js?2.9.3');
mw.loader.load('/index.php?title=MediaWiki:network-graph.js&action=raw&ctype=text/javascript');
mw.loader.load('/index.php?title=MediaWiki:network-graph.js&action=raw&ctype=text/javascript' );
}());
}());

Latest revision as of 14:07, 18 June 2019

/* Any JavaScript here will be loaded for all users on every page load. */
$(function () {
	mw.loader.load('https://d3js.org/d3.v2.min.js?2.9.3');
	mw.loader.load('/index.php?title=MediaWiki:network-graph.js&action=raw&ctype=text/javascript' );
}());