You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2020. It is now read-only.
I tried to use the jsqueeze lib to compress my javascript in a Symfony framework application.
The library did something strange with this:
got squeezed into this:
Firefox (v47.0) told me then: SyntaxError: missing ) after for-loop control
Chrome (v51.0.x) told me then: Uncaught SyntaxError: Unexpected token ;
In fact the the last semicolon is too much. When I change the compressed line to:
The squeezed javascript runs fine in both browsers.
(The line is from jQuery v1.12.4 (uncompressed, line 4557)