forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
17992f3e16
commit
c66ca9e8ac
@ -59,7 +59,7 @@ function minifyCss($css) {
|
|||||||
function minifyJs($js) {
|
function minifyJs($js) {
|
||||||
|
|
||||||
// Remove newlines and tabs
|
// Remove newlines and tabs
|
||||||
$js = str_replace(array(" ", "\t"), '', $js);
|
$js = str_replace("\t", '', $js);
|
||||||
|
|
||||||
// Remove spaces around operators
|
// Remove spaces around operators
|
||||||
//$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);
|
//$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);
|
||||||
|
Loading…
Reference in New Issue
Block a user