X-Git-Url: https://git.wh0rd.org/?a=blobdiff_plain;f=index.php;h=66314ad17d2271b653e7822989529a6c8234d9b8;hb=a86255572a9b9a278a14a1f19dd89e8c80e7db72;hp=10c75480359024d42fde0693de43219f7dc63f8c;hpb=4f9a3c0e0f995b5ad8eed5357df3d12beb8bee00;p=tt-rss.git
diff --git a/index.php b/index.php
index 10c75480..66314ad1 100644
--- a/index.php
+++ b/index.php
@@ -88,6 +88,16 @@
+
+
get_plugins() as $n => $p) {
if (method_exists($p, "get_js")) {
+ echo "try {";
echo JShrink\Minifier::minify($p->get_js());
+ echo "} catch (e) {
+ console.warn('failed to initialize plugin JS: $n');
+ console.warn(e);
+ }";
}
}
@@ -118,6 +133,7 @@
+