{"action":"created","issue":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/1611","repository_url":"https://api.github.com/repos/ajaxorg/ace","labels_url":"https://api.github.com/repos/ajaxorg/ace/issues/1611/labels{/name}","comments_url":"https://api.github.com/repos/ajaxorg/ace/issues/1611/comments","events_url":"https://api.github.com/repos/ajaxorg/ace/issues/1611/events","html_url":"https://github.com/ajaxorg/ace/issues/1611","id":19708956,"number":1611,"title":"Uncaught TypeError: Cannot read property 'cssClass' of undefined ","user":{"login":"s-a","id":1270662,"avatar_url":"https://avatars.githubusercontent.com/u/1270662?v=3","gravatar_id":"","url":"https://api.github.com/users/s-a","html_url":"https://github.com/s-a","followers_url":"https://api.github.com/users/s-a/followers","following_url":"https://api.github.com/users/s-a/following{/other_user}","gists_url":"https://api.github.com/users/s-a/gists{/gist_id}","starred_url":"https://api.github.com/users/s-a/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/s-a/subscriptions","organizations_url":"https://api.github.com/users/s-a/orgs","repos_url":"https://api.github.com/users/s-a/repos","events_url":"https://api.github.com/users/s-a/events{/privacy}","received_events_url":"https://api.github.com/users/s-a/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2013-09-18T19:58:36Z","updated_at":"2016-07-05T23:30:50Z","closed_at":null,"body":"Hello ,\r\nI get the js error `Uncaught TypeError: Cannot read property 'cssClass' of undefined`\r\n\r\nAny idea what I am doing wrong here?\r\n\r\n```javascript\r\n\t\t\t// Initialize your Ace Editor\r\n\t\t\tvar editor =  function(id, mode, data) {\r\n\t\t\t\tvar aceEditor = ace.edit(id);\r\n\t\t\t\t// default theme\r\n\t\t\t \taceEditor.setTheme(\"theme/monokai\");\r\n\t\t\t\taceEditor.getSession().setMode(\"ace/mode/\" + mode); \r\n\t\t\t\taceEditor.getSession().setValue(data);\r\n\t\t\t\treturn aceEditor;\r\n\t\t\t};  \r\n\r\n\t\t\t$.get(\"/mvc/home.html\", function(html) {\r\n\t\t\t\teditor(\"editor1\", \"html\", html);\r\n\t\t\t});\r\n\r\n\t\t\t$.get(\"/assets/js/app_events.js\", function(code) {\r\n\t\t\t\tvar e =  editor(\"editor2\", \"javascript\", code);\r\n\t\t\t\t\r\n\t\t\t});\r\n```\r\n\r\nIt loads `theme/monokai.js` and the editor is working fine."},"comment":{"url":"https://api.github.com/repos/ajaxorg/ace/issues/comments/230632858","html_url":"https://github.com/ajaxorg/ace/issues/1611#issuecomment-230632858","issue_url":"https://api.github.com/repos/ajaxorg/ace/issues/1611","id":230632858,"user":{"login":"ZachSaucier","id":3966722,"avatar_url":"https://avatars.githubusercontent.com/u/3966722?v=3","gravatar_id":"","url":"https://api.github.com/users/ZachSaucier","html_url":"https://github.com/ZachSaucier","followers_url":"https://api.github.com/users/ZachSaucier/followers","following_url":"https://api.github.com/users/ZachSaucier/following{/other_user}","gists_url":"https://api.github.com/users/ZachSaucier/gists{/gist_id}","starred_url":"https://api.github.com/users/ZachSaucier/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ZachSaucier/subscriptions","organizations_url":"https://api.github.com/users/ZachSaucier/orgs","repos_url":"https://api.github.com/users/ZachSaucier/repos","events_url":"https://api.github.com/users/ZachSaucier/events{/privacy}","received_events_url":"https://api.github.com/users/ZachSaucier/received_events","type":"User","site_admin":false},"created_at":"2016-07-05T23:30:50Z","updated_at":"2016-07-05T23:30:50Z","body":"^^ I'm seeing the same thing in Windows 10 Chrome. It loads the file just fine but doesn't apply it to the current page"}}
{"actor":{"display_login":"ZachSaucier"}}