Difference between revisions of "MediaWiki:Common.js"

From ProgZoo
Jump to navigation Jump to search
Tag: Manual revert
Line 1: Line 1:
mw.loader.getScript('/progzoo.js')
mw.loader.getScript('/codemirror.js','/progzoo.js')
   .then(function(){
   .then(function(){
     preparePage();
     preparePage();
   })
   })
mw.loader.load('/codemirror.css','text/css');
mw.loader.load('/codemirror.css','text/css');

Revision as of 22:15, 17 August 2021

mw.loader.getScript('/codemirror.js','/progzoo.js')
  .then(function(){
    preparePage();
  })
mw.loader.load('/codemirror.css','text/css');