User:BMNeuroMat/common.js

/* function addStyleSheet(pageTitle, sucCallback) { var cssLink = $(" "); $("head").append(cssLink); cssLink.attr({		rel: "stylesheet",		type: "text/css",		href: "https://en.wikiversity.org/w/index.php?action=raw&ctype=text/css&title=" + pageTitle	}); console.log('loading CSS file ' + pageTitle); if (typeof sucCallback !== 'undefined') { checkForStyleSheet(pageTitle, sucCallback); } } // import CSS while not in global namespace addStyleSheet('User:Sebschlicht/addin-mooc.css'); // import new migrated JS importScript('User:Sebschlicht/addin-mooc.js');