mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Remove unused private class members
This commit is contained in:
parent
fddee0607f
commit
dd5199c544
2 changed files with 0 additions and 20 deletions
|
@ -129,22 +129,6 @@ class PluginManager {
|
||||||
.sort((p1, p2) => (p1.priority || 0) - (p2.priority || 0))[0];
|
.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) {
|
mapPath(plugin, path, addCacheParam) {
|
||||||
if (typeof plugin === 'string') {
|
if (typeof plugin === 'string') {
|
||||||
plugin = this.pluginsList.filter((p) => {
|
plugin = this.pluginsList.filter((p) => {
|
||||||
|
|
|
@ -277,10 +277,6 @@ export class HtmlVideoPlayer {
|
||||||
* @type {number | null | undefined}
|
* @type {number | null | undefined}
|
||||||
*/
|
*/
|
||||||
#currentTime;
|
#currentTime;
|
||||||
/**
|
|
||||||
* @type {any | undefined}
|
|
||||||
*/
|
|
||||||
#flvPlayer;
|
|
||||||
/**
|
/**
|
||||||
* @private (used in other files)
|
* @private (used in other files)
|
||||||
* @type {any | undefined}
|
* @type {any | undefined}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue