Auto Minify causes errors in javascript files

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

Expected output:
“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.