resourceloader: Wrap another CSSMin::remap call in MemoizedCallable::call
Follows-up da3443bfa2.
Change-Id: Iabfe65b918ef5f8eb589bedd7a1e72b3ad9d2952
This commit is contained in:
parent
adbfc6eac5
commit
32705d44cf
1 changed files with 2 additions and 1 deletions
|
|
@ -214,7 +214,8 @@ class ResourceLoaderWikiModule extends ResourceLoaderModule {
|
|||
if ( $this->getFlip( $context ) ) {
|
||||
$style = CSSJanus::transform( $style, true, false );
|
||||
}
|
||||
$style = CSSMin::remap( $style, false, $this->getConfig()->get( 'ScriptPath' ), true );
|
||||
$style = MemoizedCallable::call( 'CSSMin::remap',
|
||||
array( $style, false, $this->getConfig()->get( 'ScriptPath' ), true ) );
|
||||
if ( !isset( $styles[$media] ) ) {
|
||||
$styles[$media] = array();
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue