Difference between revisions of "MediaWiki:Common.js"

From ProgZoo
Jump to navigation Jump to search
Line 1: Line 1:
mw.loader.getScript('/codemirror.js','/progzoo.js')
mw.loader.getScript('/codemirror.js')
  .then(mw.loader.getScript('/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:16, 17 August 2021

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