I'm not able to enter the closing curly bracket of a JSON object in a javascript Cloud9/ACE editor. The editor collapses the entire code until the end of the function.
Example: var y = {firstname: 'John', lastname: 'Miller'}
If I copy this line from another source and paste inside the javascript code all works fine.
Is it a bug or a handling error? Any idea?