From e4e10863c5691b83adacbb1336e3b8f6233c3f67 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 10:53:20 +0100 Subject: [PATCH] test inlining --- lib/inliner.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/lib/inliner.php b/lib/inliner.php index de3dff0..8ee1d41 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -63,9 +63,6 @@ function minifyJs($js) { // Remove newlines and tabs $js = str_replace(array("\r\n", "\r", "\n", "\t"), '', $js); - // Remove unnecessary semicolons - $js = str_replace(';}', '}', $js); - // Remove spaces around operators $js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);