User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
mNo edit summary
Line 17:
if (isCSS) script.setAttribute("rel", "stylesheet");
script.setAttribute("type", "text/" + (isCSS ? "css" : "javascript"));
script.setAttribute((isCSS ? "href" : "src"), (self.namespaces && !/^https?\:\/\//.test(src) ? (function() {
var path = format(self.namespaces["#default"] || "{{{src}}}", src, isCSS);
for (var ns in self.namespaces) {