test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 10:53:20 +01:00
parent 7f90bacd4b
commit e4e10863c5

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