Merge branch 'feature/fix-tests'

This commit is contained in:
Gino Pane 2016-02-09 01:37:26 +03:00
commit a51f4eb6d9

View File

@ -211,7 +211,7 @@ class JS extends Minify
};
// it's a regex if we can find an opening and (not escaped) closing /,
$pattern = '(\/.*?(?<!\\\\)(\\\\\\\\)*+\/\n?)';
$pattern = '(\/.*?(?<!\\\\)(\\\\\\\\)*+\/)';
// / can't be preceded by variable, value, or similar because then
// it's going to be division