From dd5199c544a7bc58f8de0f79d523b3931bfbe960 Mon Sep 17 00:00:00 2001 From: Bill Thornton Date: Tue, 12 Sep 2023 23:56:08 -0400 Subject: [PATCH] Remove unused private class members --- src/components/pluginManager.js | 16 ---------------- src/plugins/htmlVideoPlayer/plugin.js | 4 ---- 2 files changed, 20 deletions(-) diff --git a/src/components/pluginManager.js b/src/components/pluginManager.js index 948912cbd8..847e2bc579 100644 --- a/src/components/pluginManager.js +++ b/src/components/pluginManager.js @@ -129,22 +129,6 @@ class PluginManager { .sort((p1, p2) => (p1.priority || 0) - (p2.priority || 0))[0]; } - #mapRoute(plugin, route) { - if (typeof plugin === 'string') { - plugin = this.pluginsList.filter((p) => { - return (p.id || p.packageName) === plugin; - })[0]; - } - - route = route.path || route; - - if (route.toLowerCase().startsWith('http')) { - return route; - } - - return '/plugins/' + plugin.id + '/' + route; - } - mapPath(plugin, path, addCacheParam) { if (typeof plugin === 'string') { plugin = this.pluginsList.filter((p) => { diff --git a/src/plugins/htmlVideoPlayer/plugin.js b/src/plugins/htmlVideoPlayer/plugin.js index c6d9eeb68b..e43e44d127 100644 --- a/src/plugins/htmlVideoPlayer/plugin.js +++ b/src/plugins/htmlVideoPlayer/plugin.js @@ -277,10 +277,6 @@ export class HtmlVideoPlayer { * @type {number | null | undefined} */ #currentTime; - /** - * @type {any | undefined} - */ - #flvPlayer; /** * @private (used in other files) * @type {any | undefined}