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