{"action":"created","issue":{"url":"https://api.github.com/repos/flintjs/flint/issues/34","labels_url":"https://api.github.com/repos/flintjs/flint/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/flintjs/flint/issues/34/comments","events_url":"https://api.github.com/repos/flintjs/flint/issues/34/events","html_url":"https://github.com/flintjs/flint/issues/34","id":112739939,"number":34,"title":"Make comments easier","user":{"login":"ncammarata","id":204989,"avatar_url":"https://avatars.githubusercontent.com/u/204989?v=3","gravatar_id":"","url":"https://api.github.com/users/ncammarata","html_url":"https://github.com/ncammarata","followers_url":"https://api.github.com/users/ncammarata/followers","following_url":"https://api.github.com/users/ncammarata/following{/other_user}","gists_url":"https://api.github.com/users/ncammarata/gists{/gist_id}","starred_url":"https://api.github.com/users/ncammarata/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ncammarata/subscriptions","organizations_url":"https://api.github.com/users/ncammarata/orgs","repos_url":"https://api.github.com/users/ncammarata/repos","events_url":"https://api.github.com/users/ncammarata/events{/privacy}","received_events_url":"https://api.github.com/users/ncammarata/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/flintjs/flint/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-22T06:29:20Z","updated_at":"2015-10-22T06:52:23Z","closed_at":null,"body":"I had a piece of code\r\n\r\n```js\r\n<State if={['/','state'].indexOf(Flint.router.location) > -1} />\r\n```\r\n\r\nand wanted to change it to\r\n\r\n```js\r\n<State /> // if={['/','state'].indexOf(Flint.router.location) > -1} />\r\n```\r\n\r\nor something similar, and there were no good ways of doing that. There should be"},"comment":{"url":"https://api.github.com/repos/flintjs/flint/issues/comments/150124552","html_url":"https://github.com/flintjs/flint/issues/34#issuecomment-150124552","issue_url":"https://api.github.com/repos/flintjs/flint/issues/34","id":150124552,"user":{"login":"natew","id":12100,"avatar_url":"https://avatars.githubusercontent.com/u/12100?v=3","gravatar_id":"","url":"https://api.github.com/users/natew","html_url":"https://github.com/natew","followers_url":"https://api.github.com/users/natew/followers","following_url":"https://api.github.com/users/natew/following{/other_user}","gists_url":"https://api.github.com/users/natew/gists{/gist_id}","starred_url":"https://api.github.com/users/natew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/natew/subscriptions","organizations_url":"https://api.github.com/users/natew/orgs","repos_url":"https://api.github.com/users/natew/repos","events_url":"https://api.github.com/users/natew/events{/privacy}","received_events_url":"https://api.github.com/users/natew/received_events","type":"User","site_admin":false},"created_at":"2015-10-22T06:52:23Z","updated_at":"2015-10-22T06:52:23Z","body":"I think a regex is actually fairly safe here, no? We could modify the jsx parser in Babel, but is there ever a case where (//) doesn't hide the rest of the line (while in jsx?)"}}