resourceloader: Add newline after 'mw.loader.implement()' in debug mode
The next mw.loader.implement() starts on its own line. Change-Id: Iae0a5eab58f1065c354018ed23c6a9834973b19d
This commit is contained in:
parent
a4c86d3017
commit
46b361d743
1 changed files with 4 additions and 0 deletions
|
|
@ -1119,6 +1119,10 @@ MESSAGE;
|
|||
|
||||
if ( !$context->getDebug() ) {
|
||||
$strContent = self::filter( $filter, $strContent );
|
||||
} else {
|
||||
// In debug mode, separate each response by a new line.
|
||||
// For example, between 'mw.loader.implement();' statements.
|
||||
$strContent = $this->ensureNewline( $strContent );
|
||||
}
|
||||
|
||||
if ( $context->getOnly() === 'scripts' ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue