test inlining
This commit is contained in:
parent
9c06142954
commit
7f90bacd4b
@ -66,9 +66,6 @@ function minifyJs($js) {
|
||||
// Remove unnecessary semicolons
|
||||
$js = str_replace(';}', '}', $js);
|
||||
|
||||
// Remove spaces after function keyword
|
||||
$js = str_replace('function ', 'function', $js);
|
||||
|
||||
// Remove spaces around operators
|
||||
$js = preg_replace('~\s*([=+\-*/])\s*~', '$1', $js);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user