diff options
author | Calum Lind <calumlind+deluge@gmail.com> | 2021-12-14 23:28:43 +0100 |
---|---|---|
committer | Calum Lind <calumlind+deluge@gmail.com> | 2021-12-15 10:37:55 +0100 |
commit | a03e649da6b243986d7ca4ae467be6f17558d97a (patch) | |
tree | dacbd7f1be99deb9133c81aa12d669e55523ebf2 /DEPENDS.md | |
parent | [Packaging] Start replacing deprecated distutils (diff) | |
download | deluge-a03e649da6b243986d7ca4ae467be6f17558d97a.tar.xz deluge-a03e649da6b243986d7ca4ae467be6f17558d97a.zip |
[Build] Fix WebUI js minifying error
Some users encoutered a bug where WebUI in browser show a white screen,
which indicates a problem with loading javascript files. The problem was
due to closure minifying failure leaving a zero-length deluge-all.js
file which broke the usual fallback mechanism to debug files.
* Fixed usage of ES6 const declaration breaking closure minifying.
* Cleanup minified files upon errors so no zero length files left
* Replaced broken and unmaintained slimit with rjsmin.
* Fixed unable to set dev or debug query args due to request args
requiring bytes.
Diffstat (limited to 'DEPENDS.md')
-rw-r--r-- | DEPENDS.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/DEPENDS.md b/DEPENDS.md index d15824446..0844718c4 100644 --- a/DEPENDS.md +++ b/DEPENDS.md @@ -13,7 +13,7 @@ All modules will require the [common](#common) section dependencies. - [setuptools] - [intltool] - Optional: Desktop file translation for \*nix. -- [closure-compiler] - Minify javascript (alternative is [slimit]) +- [closure-compiler] - Minify javascript (alternative is [rjsmin]) ## Common @@ -71,7 +71,7 @@ All modules will require the [common](#common) section dependencies. [setuptools]: https://setuptools.readthedocs.io/en/latest/ [intltool]: https://freedesktop.org/wiki/Software/intltool/ [closure-compiler]: https://developers.google.com/closure/compiler/ -[slimit]: https://slimit.readthedocs.io/en/latest/ +[rjsmin]: https://pypi.org/project/rjsmin/ [openssl]: https://www.openssl.org/ [pyopenssl]: https://pyopenssl.org [twisted]: https://twistedmatrix.com |