test inlining
This commit is contained in:
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user