From 7f90bacd4b90364b14ad04bc93903307df82bcaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bruno=20Ryb=C3=A1rsky?= Date: Sun, 4 Feb 2024 10:52:35 +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 d14c382..de3dff0 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -66,9 +66,6 @@ function minifyJs($js) { // Remove unnecessary semicolons $js = str_replace(';}', '}', $js); - // Remove spaces after function keyword - $js = str_replace('function ', 'function', $js); - // Remove spaces around operators $js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);