From f592eeea3bade524b8b37e6d9da93d7735992e42 Mon Sep 17 00:00:00 2001 From: Derk-Jan Hartman Date: Tue, 21 May 2024 00:20:05 +0200 Subject: [PATCH] Remove unused code from mmv.ui Bug: T77349 Change-Id: I9e26dc68859d9dca3c6066837253e85a19039ce0 --- bundlesize.config.json | 2 +- resources/mmv/ui/mmv.ui.js | 131 ------------------------------ tests/qunit/mmv/ui/mmv.ui.test.js | 87 -------------------- 3 files changed, 1 insertion(+), 219 deletions(-) diff --git a/bundlesize.config.json b/bundlesize.config.json index 77fd484da..c4cd2e472 100644 --- a/bundlesize.config.json +++ b/bundlesize.config.json @@ -2,7 +2,7 @@ "modules": [ { "resourceModule": "mmv", - "maxSize": "30.0 kB" + "maxSize": "28.8 kB" }, { "resourceModule": "mmv.ui.restriction", diff --git a/resources/mmv/ui/mmv.ui.js b/resources/mmv/ui/mmv.ui.js index c12d69801..595ac347c 100644 --- a/resources/mmv/ui/mmv.ui.js +++ b/resources/mmv/ui/mmv.ui.js @@ -16,8 +16,6 @@ */ ( function () { - let cachedRTL; - /** * Represents a UI element. * @@ -35,33 +33,6 @@ /** @property {Object.} eventsRegistered Events that this element has registered with the DOM. */ this.eventsRegistered = {}; - - /** - * @property {Object.} $inlineStyles a list of `