forked from Adleraci/adlerka.top
test inlining
This commit is contained in:
parent
dc0ed52b06
commit
b8b9bc985e
@ -61,7 +61,7 @@ function minifyJs($js) {
|
||||
//$js = preg_replace('!/\*[^*]*\*+([^/][^*]*\*+)*/!', '', $js);
|
||||
|
||||
// Remove line comments
|
||||
//$js = preg_replace('!(//.*)|(/\*.*?\*/)!s', '', $js);
|
||||
$js = preg_replace('!(//.*)|(/\*.*?\*/)!s', '', $js);
|
||||
|
||||
// Remove newlines and tabs
|
||||
//$js = str_replace(array("\r\n", "\r", "\n", "\t"), '', $js);
|
||||
|
Loading…
Reference in New Issue
Block a user