forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
1ab5b5dc7c
commit
42c3454094
@ -72,7 +72,7 @@ function minifyJs($js) {
|
|||||||
$js = str_replace('function ', 'function', $js);
|
$js = str_replace('function ', 'function', $js);
|
||||||
|
|
||||||
// Remove spaces around operators
|
// Remove spaces around operators
|
||||||
$js = preg_replace('/\s*([=+\-*/])\s*/', '$1', $js);
|
$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);
|
||||||
|
|
||||||
return trim($js);
|
return trim($js);
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user