JS Error on builds
When we run builds on this project, we get a JS warning:
create public/javascripts/libs/swfobject-dynamic.js
WARNING: Couldn't compress JavaScript in /javascripts/scripts.js: SyntaxError: Unexpected token: operator (>) (line: 202, col: 25, pos: 5479)
Error
at new JS_Parse_Error (<eval>:3623:11948)
at js_error (<eval>:3623:12167)
at croak (<eval>:3623:22038)
at token_error (<eval>:3623:22175)
at unexpected (<eval>:3623:22263)
at expr_atom (<eval>:3623:31244)
at maybe_unary (<eval>:3624:1752)
at expr_ops (<eval>:3624:2523)
at maybe_conditional (<eval>:3624:2615)
at maybe_assign (<eval>:3624:3058)
create public/javascripts/scripts.js
We should fix it so we don't trigger this warning.
Example of builds: https://gitlab.com/gitlab-com/www-gitlab-com/builds/12603762