From adf982583fbc44b6f64e11422d5c8a10389aa498 Mon Sep 17 00:00:00 2001 From: jdlrobson Date: Mon, 14 Sep 2020 15:17:35 -0700 Subject: [PATCH] Monobook should use opt-in policy for ResourceLoaderSkinModule features Bug: T252774 Change-Id: If9283742a83ecfbe8c4246e3624022a56be8f161 --- skin.json | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/skin.json b/skin.json index d7e9fa4..a9f93e1 100644 --- a/skin.json +++ b/skin.json @@ -33,14 +33,14 @@ "ResourceModules": { "skins.monobook.styles": { "class": "ResourceLoaderSkinModule", - "features": [ - "normalize", - "elements", - "content", - "interface", - "logo", - "legacy" - ], + "features": { + "normalize": true, + "elements": true, + "content": true, + "interface": true, + "logo": true, + "legacy": true + }, "styles": { "resources/screen-common.less": { "media": "screen" @@ -55,14 +55,14 @@ }, "skins.monobook.responsive": { "class": "ResourceLoaderSkinModule", - "features": [ - "normalize", - "elements", - "content", - "interface", - "legacy", - "logo" - ], + "features": { + "normalize": true, + "elements": true, + "content": true, + "interface": true, + "legacy": true, + "logo": true + }, "targets": [ "desktop", "mobile" @@ -105,14 +105,14 @@ }, "skins.monobook.mobile": { "class": "ResourceLoaderSkinModule", - "features": [ - "normalize", - "elements", - "content", - "interface", - "logo", - "legacy" - ], + "features": { + "normalize": true, + "elements": true, + "content": true, + "interface": true, + "logo": true, + "legacy": true + }, "targets": [ "desktop", "mobile" ], "packageFiles": [ "resources/mobile.js",