{"action":"created","issue":{"url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/12","repository_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react","labels_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/12/comments","events_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/12/events","html_url":"https://github.com/rwieruch/the-road-to-learn-react/issues/12","id":197486001,"number":12,"title":"Page 21 broken code snippet?","user":{"login":"lasernite","id":1097642,"avatar_url":"https://avatars.githubusercontent.com/u/1097642?v=3","gravatar_id":"","url":"https://api.github.com/users/lasernite","html_url":"https://github.com/lasernite","followers_url":"https://api.github.com/users/lasernite/followers","following_url":"https://api.github.com/users/lasernite/following{/other_user}","gists_url":"https://api.github.com/users/lasernite/gists{/gist_id}","starred_url":"https://api.github.com/users/lasernite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lasernite/subscriptions","organizations_url":"https://api.github.com/users/lasernite/orgs","repos_url":"https://api.github.com/users/lasernite/repos","events_url":"https://api.github.com/users/lasernite/events{/privacy}","received_events_url":"https://api.github.com/users/lasernite/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-25T03:35:46Z","updated_at":"2016-12-25T11:59:52Z","closed_at":null,"body":"```\r\nfunction isSearched(query) {\r\n    return function(item) {\r\n        return !query || item.title.toLowerCase().indexOf(query.toLowerCase()) !== -\\\r\n1;\r\n        }\r\n}\r\n```\r\n\r\n\"Syntax error: Unterminated regular expression (26:81)\""},"comment":{"url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/comments/269119669","html_url":"https://github.com/rwieruch/the-road-to-learn-react/issues/12#issuecomment-269119669","issue_url":"https://api.github.com/repos/rwieruch/the-road-to-learn-react/issues/12","id":269119669,"user":{"login":"rwieruch","id":2479967,"avatar_url":"https://avatars.githubusercontent.com/u/2479967?v=3","gravatar_id":"","url":"https://api.github.com/users/rwieruch","html_url":"https://github.com/rwieruch","followers_url":"https://api.github.com/users/rwieruch/followers","following_url":"https://api.github.com/users/rwieruch/following{/other_user}","gists_url":"https://api.github.com/users/rwieruch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwieruch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwieruch/subscriptions","organizations_url":"https://api.github.com/users/rwieruch/orgs","repos_url":"https://api.github.com/users/rwieruch/repos","events_url":"https://api.github.com/users/rwieruch/events{/privacy}","received_events_url":"https://api.github.com/users/rwieruch/received_events","type":"User","site_admin":false},"created_at":"2016-12-25T11:59:52Z","updated_at":"2016-12-25T11:59:52Z","body":"Argh, the line break is a bit confusing here. I have to fix that. It's:\r\n\r\n`return !query || item.title.toLowerCase().indexOf(query.toLowerCase()) !== -1;`"}}
{"actor":{"display_login":"rwieruch"}}