Difference between revisions of "MediaWiki:Common.js"

From ProgZoo
Jump to navigation Jump to search
Line 1: Line 1:
mw.loader.getScript('/codemirror.js')
mw.loader.getScript('/codemirror.js')
  .then(mw.loader.getScript('/cmjavascript.js'))
  .then(mw.loader.getScript('/jslint.js'))
  .then(mw.loader.getScript('/paho-mqtt-min.js'))
   .then(mw.loader.getScript('/progzoo.js'))
   .then(mw.loader.getScript('/progzoo.js'))
   .then(function(){
   .then(function(){

Revision as of 23:17, 17 August 2021

mw.loader.getScript('/codemirror.js')
  .then(mw.loader.getScript('/cmjavascript.js'))
  .then(mw.loader.getScript('/jslint.js'))
  .then(mw.loader.getScript('/paho-mqtt-min.js'))
  .then(mw.loader.getScript('/progzoo.js'))
  .then(function(){
    preparePage();
  })
mw.loader.load('/codemirror.css','text/css');