{"action":"created","issue":{"url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/7","labels_url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/7/labels{/name}","comments_url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/7/comments","events_url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/7/events","html_url":"https://github.com/avenoir/WDI9_Homework/pull/7","id":71733595,"number":7,"title":"Homework Week 1","user":{"login":"aaronongtw","id":10200281,"avatar_url":"https://avatars.githubusercontent.com/u/10200281?v=3","gravatar_id":"","url":"https://api.github.com/users/aaronongtw","html_url":"https://github.com/aaronongtw","followers_url":"https://api.github.com/users/aaronongtw/followers","following_url":"https://api.github.com/users/aaronongtw/following{/other_user}","gists_url":"https://api.github.com/users/aaronongtw/gists{/gist_id}","starred_url":"https://api.github.com/users/aaronongtw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aaronongtw/subscriptions","organizations_url":"https://api.github.com/users/aaronongtw/orgs","repos_url":"https://api.github.com/users/aaronongtw/repos","events_url":"https://api.github.com/users/aaronongtw/events{/privacy}","received_events_url":"https://api.github.com/users/aaronongtw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-28T23:17:43Z","updated_at":"2015-04-28T23:31:52Z","closed_at":"2015-04-28T23:31:52Z","pull_request":{"url":"https://api.github.com/repos/avenoir/WDI9_Homework/pulls/7","html_url":"https://github.com/avenoir/WDI9_Homework/pull/7","diff_url":"https://github.com/avenoir/WDI9_Homework/pull/7.diff","patch_url":"https://github.com/avenoir/WDI9_Homework/pull/7.patch"},"body":"2\r\n\r\nKnowing whats the best code for the situation\r\n\r\n2 hours"},"comment":{"url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/comments/97262736","html_url":"https://github.com/avenoir/WDI9_Homework/pull/7#issuecomment-97262736","issue_url":"https://api.github.com/repos/avenoir/WDI9_Homework/issues/7","id":97262736,"user":{"login":"avenoir","id":4362970,"avatar_url":"https://avatars.githubusercontent.com/u/4362970?v=3","gravatar_id":"","url":"https://api.github.com/users/avenoir","html_url":"https://github.com/avenoir","followers_url":"https://api.github.com/users/avenoir/followers","following_url":"https://api.github.com/users/avenoir/following{/other_user}","gists_url":"https://api.github.com/users/avenoir/gists{/gist_id}","starred_url":"https://api.github.com/users/avenoir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/avenoir/subscriptions","organizations_url":"https://api.github.com/users/avenoir/orgs","repos_url":"https://api.github.com/users/avenoir/repos","events_url":"https://api.github.com/users/avenoir/events{/privacy}","received_events_url":"https://api.github.com/users/avenoir/received_events","type":"User","site_admin":false},"created_at":"2015-04-28T23:31:52Z","updated_at":"2015-04-28T23:31:52Z","body":"Perfect mate. Looks great!\r\n\r\nIn the notBad function - it is worth checking out whether the indexOf bad comes after the indexOf not in the if statement as well."}}