[PR #355] [CLOSED] deuglify apphost.js in an attempt to make it more readable #8270

Closed
opened 2026-02-07 05:40:57 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/jellyfin/jellyfin/pull/355
Author: @cvium
Created: 1/2/2019
Status: Closed

Base: devHead: deuglify_apphostjs


📝 Commits (3)

  • a99b7c2 deuglify apphost.js in an attempt to make it more readable
  • ad2f71c changed indentation to 4 spaces
  • 9d1ad38 Merge branch 'dev' into deuglify_apphostjs

📊 Changes

1 file changed (+422 additions, -124 deletions)

View changed files

📝 MediaBrowser.WebDashboard/dashboard-ui/components/apphost.js (+422 -124)

📄 Description

I've run apphost.js through https://www.npmjs.com/package/deuglify and then manually unrolled a few if-else statements that weren't caught properly.

If this is approved I think deuglify should be applied at a larger scale, but it's going to take a while. Unless someone knows where to get the proper source for the minified, uglified js.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/jellyfin/jellyfin/pull/355 **Author:** [@cvium](https://github.com/cvium) **Created:** 1/2/2019 **Status:** ❌ Closed **Base:** `dev` ← **Head:** `deuglify_apphostjs` --- ### 📝 Commits (3) - [`a99b7c2`](https://github.com/jellyfin/jellyfin/commit/a99b7c288896b6a2a414440707ff530c103dda04) deuglify apphost.js in an attempt to make it more readable - [`ad2f71c`](https://github.com/jellyfin/jellyfin/commit/ad2f71ce83568d9b266e3e9e910eab180ece84e5) changed indentation to 4 spaces - [`9d1ad38`](https://github.com/jellyfin/jellyfin/commit/9d1ad38f031c3412091eae71267f78fdc7eaba7c) Merge branch 'dev' into deuglify_apphostjs ### 📊 Changes **1 file changed** (+422 additions, -124 deletions) <details> <summary>View changed files</summary> 📝 `MediaBrowser.WebDashboard/dashboard-ui/components/apphost.js` (+422 -124) </details> ### 📄 Description I've run apphost.js through https://www.npmjs.com/package/deuglify and then manually unrolled a few if-else statements that weren't caught properly. If this is approved I think deuglify should be applied at a larger scale, but it's going to take a while. Unless someone knows where to get the proper source for the minified, uglified js. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-07 05:40:57 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/jellyfin#8270