{"action":"opened","issue":{"url":"https://api.github.com/repos/bobbylight/RSTALanguageSupport/issues/25","labels_url":"https://api.github.com/repos/bobbylight/RSTALanguageSupport/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/bobbylight/RSTALanguageSupport/issues/25/comments","events_url":"https://api.github.com/repos/bobbylight/RSTALanguageSupport/issues/25/events","html_url":"https://github.com/bobbylight/RSTALanguageSupport/issues/25","id":92723858,"number":25,"title":"JavaScript: Understand prototypes that are function expressions","user":{"login":"bobbylight","id":1631766,"avatar_url":"https://avatars.githubusercontent.com/u/1631766?v=3","gravatar_id":"","url":"https://api.github.com/users/bobbylight","html_url":"https://github.com/bobbylight","followers_url":"https://api.github.com/users/bobbylight/followers","following_url":"https://api.github.com/users/bobbylight/following{/other_user}","gists_url":"https://api.github.com/users/bobbylight/gists{/gist_id}","starred_url":"https://api.github.com/users/bobbylight/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bobbylight/subscriptions","organizations_url":"https://api.github.com/users/bobbylight/orgs","repos_url":"https://api.github.com/users/bobbylight/repos","events_url":"https://api.github.com/users/bobbylight/events{/privacy}","received_events_url":"https://api.github.com/users/bobbylight/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/bobbylight/RSTALanguageSupport/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-07-02T20:06:42Z","updated_at":"2015-07-02T20:06:42Z","closed_at":null,"body":"The JavaScriptOutlineTree and code completion currently do not understand JS objects whose prototypes are defined as function expressions, e.g.\r\n\r\n```javascript\r\nfunction Conversation() {\r\n  ...\r\n}\r\nConversation.prototype = (function() {\r\n   return {\r\n      foo: function() {\r\n         return true;\r\n      }\r\n   };\r\n})();\r\n```\r\n"}}