diff --git a/lib/inliner.php b/lib/inliner.php index d14c382..de3dff0 100644 --- a/lib/inliner.php +++ b/lib/inliner.php @@ -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);