test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 10:52:35 +01:00
parent 9c06142954
commit 7f90bacd4b

@ -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);