Auto Minify causes errors in javascript files

Original:
1 .toFixed(1)
with “Auto Minify”:
1.toFixed(1)

Expected output:
1.0
“Auto Minify” output:
Uncaught SyntaxError: Invalid or unexpected token

“Auto Minify” will let the JS parser is ambiguous about the . operator.

“Auto Minify” should:
(1).toFixed(1) or other.

original file use (1).toFixed(1) will also be optimized to 1.toFixed(1)

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.