From a436983f96058f9d47cddb88e96c6383d92d439c Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Mon, 10 Sep 2018 21:22:49 +0100 Subject: [PATCH] resourceloader: Update startup mock in jsduck/eg-iframe Follows-up dec800968eb. Without it, the mediawiki.base.js script fails upon trying to access 'window.RLQ', which startup.js normally defines. Bug: T203578 Change-Id: Icfe16948b1b7af47f6e3f058500aa8fa86cafbfc --- maintenance/jsduck/eg-iframe.html | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/maintenance/jsduck/eg-iframe.html b/maintenance/jsduck/eg-iframe.html index 7913aab83b..941340a80d 100644 --- a/maintenance/jsduck/eg-iframe.html +++ b/maintenance/jsduck/eg-iframe.html @@ -38,10 +38,7 @@ window.$VARS = { baseModules: [] }; - - function startUp() { - mw.config = new mw.Map(); - } + window.RLQ = []; -- 2.20.1