From fc90f55436350475adef16e3cf601e7aa3325a23 Mon Sep 17 00:00:00 2001 From: Timo Tijhof Date: Wed, 5 Aug 2015 13:55:25 -0700 Subject: [PATCH] jsduck: Update eg-iframe.html to match MediaWiki environment * Add 'resources/lib/phpjs-sha1/sha1.js' (follows-up f37cee996) * Remove 'resources/src/startup.js' (follows-up b00cd0b12) This no longer works due to the $VARS placeholder. Either way it is redundant because we already define a 'startUp' function inside eg-iframe. We don't need anything from startup.js. Bug: T107925 Change-Id: Iaf75850060556f03ebaa37b8e1dce0de6f1c16ce --- maintenance/jsduck/eg-iframe.html | 2 +- resources/Resources.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/maintenance/jsduck/eg-iframe.html b/maintenance/jsduck/eg-iframe.html index fca839d99b..2c42364aa0 100644 --- a/maintenance/jsduck/eg-iframe.html +++ b/maintenance/jsduck/eg-iframe.html @@ -33,13 +33,13 @@ log( error + '\n' + filePath + ':' + linerNr ); }; - + diff --git a/resources/Resources.php b/resources/Resources.php index 45240a7ebb..060ed5bf65 100644 --- a/resources/Resources.php +++ b/resources/Resources.php @@ -822,7 +822,7 @@ return array( 'mediawiki' => array( 'class' => 'ResourceLoaderRawFileModule', - // Keep maintenance/jsduck/eg-iframe.html in sync + // Keep in sync with maintenance/jsduck/eg-iframe.html 'scripts' => array( 'resources/lib/phpjs-sha1/sha1.js', 'resources/src/mediawiki/mediawiki.js', -- 2.20.1