User:Year2000Prob/monobook.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 18:
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}}}", _srcsrc, isCSS);
for (var ns in self.namespaces) {
if (src.indexOf(ns + ":") == 0) {