test inlining

This commit is contained in:
Bruno Rybársky 2024-02-04 10:48:42 +01:00
parent 1ab5b5dc7c
commit 42c3454094

@ -72,7 +72,7 @@ function minifyJs($js) {
$js = str_replace('function ', 'function', $js);
// Remove spaces around operators
$js = preg_replace('/\s*([=+\-*/])\s*/', '$1', $js);
$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);
return trim($js);
}