I am getting Uncaught SyntaxError: Unexpected token ) in this part of code:

<script type="text/javascript">
    Careers.using(["shared", "tagEditor", "companyPagesEdit"], function() {
        var config = {…});
  • What company page? – JonW Nov 19 '15 at 10:42
  • @Jon there's such a thing on Careers. – nicael Nov 19 '15 at 10:43
  • @nicael It was more of a hint to link to that page really. If you're reporting a bug somewhere then it's useful to actually link to the place that's causing the issue. – JonW Nov 19 '15 at 10:51
  • 1
    Editor is private so I can't really provide a useful link to it. – patrys Nov 19 '15 at 10:58

Thanks for letting us know!

Many of our developers own cats. In this case, the only logical explanation for what happened is that one of these cats stood on a developer's keyboard and inserted an additional closing bracket in a JavaScript file, causing a syntax error on the page.

The extra bracket has now been removed, so the company page editor is now working properly.

To prevent this happening again, the cat has been put down we are looking at more effective monitoring of client-side JavaScript errors so we spot it when things break before you do!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .