summaryrefslogtreecommitdiffstats
path: root/DEPENDS.md
diff options
context:
space:
mode:
authorCalum Lind <calumlind+deluge@gmail.com>2021-12-14 22:28:43 +0000
committerCalum Lind <calumlind+deluge@gmail.com>2021-12-15 09:37:55 +0000
commita03e649da6b243986d7ca4ae467be6f17558d97a (patch)
treedacbd7f1be99deb9133c81aa12d669e55523ebf2 /DEPENDS.md
parent073bbbc09df1f3aa91610b70c05406611eac3975 (diff)
downloaddeluge-a03e649da6b243986d7ca4ae467be6f17558d97a.tar.gz
deluge-a03e649da6b243986d7ca4ae467be6f17558d97a.tar.bz2
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.md4
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