{"action":"created","issue":{"url":"https://api.github.com/repos/ek222mw/RiaProject/issues/1","labels_url":"https://api.github.com/repos/ek222mw/RiaProject/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ek222mw/RiaProject/issues/1/comments","events_url":"https://api.github.com/repos/ek222mw/RiaProject/issues/1/events","html_url":"https://github.com/ek222mw/RiaProject/pull/1","id":117665293,"number":1,"title":"Made it so that the answer is passed as a parameter to the reducer","user":{"login":"MoombaDS","id":14370861,"avatar_url":"https://avatars.githubusercontent.com/u/14370861?v=3","gravatar_id":"","url":"https://api.github.com/users/MoombaDS","html_url":"https://github.com/MoombaDS","followers_url":"https://api.github.com/users/MoombaDS/followers","following_url":"https://api.github.com/users/MoombaDS/following{/other_user}","gists_url":"https://api.github.com/users/MoombaDS/gists{/gist_id}","starred_url":"https://api.github.com/users/MoombaDS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MoombaDS/subscriptions","organizations_url":"https://api.github.com/users/MoombaDS/orgs","repos_url":"https://api.github.com/users/MoombaDS/repos","events_url":"https://api.github.com/users/MoombaDS/events{/privacy}","received_events_url":"https://api.github.com/users/MoombaDS/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-11-18T19:43:14Z","updated_at":"2015-11-19T14:14:03Z","closed_at":"2015-11-19T09:53:43Z","pull_request":{"url":"https://api.github.com/repos/ek222mw/RiaProject/pulls/1","html_url":"https://github.com/ek222mw/RiaProject/pull/1","diff_url":"https://github.com/ek222mw/RiaProject/pull/1.diff","patch_url":"https://github.com/ek222mw/RiaProject/pull/1.patch"},"body":"Hi!\r\n\r\nThis seemed like a more elegant way to get the answer parameter into the reducer since it avoids calling document.getElementById within the body of the reducer (which I have often heard should be avoided in the long run).\r\n\r\nI'd love to hear your thoughts!"},"comment":{"url":"https://api.github.com/repos/ek222mw/RiaProject/issues/comments/158069178","html_url":"https://github.com/ek222mw/RiaProject/pull/1#issuecomment-158069178","issue_url":"https://api.github.com/repos/ek222mw/RiaProject/issues/1","id":158069178,"user":{"login":"krawaller","id":249764,"avatar_url":"https://avatars.githubusercontent.com/u/249764?v=3","gravatar_id":"","url":"https://api.github.com/users/krawaller","html_url":"https://github.com/krawaller","followers_url":"https://api.github.com/users/krawaller/followers","following_url":"https://api.github.com/users/krawaller/following{/other_user}","gists_url":"https://api.github.com/users/krawaller/gists{/gist_id}","starred_url":"https://api.github.com/users/krawaller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/krawaller/subscriptions","organizations_url":"https://api.github.com/users/krawaller/orgs","repos_url":"https://api.github.com/users/krawaller/repos","events_url":"https://api.github.com/users/krawaller/events{/privacy}","received_events_url":"https://api.github.com/users/krawaller/received_events","type":"User","site_admin":false},"created_at":"2015-11-19T14:14:03Z","updated_at":"2015-11-19T14:14:03Z","body":"Definitely a good change, well done @MoombaDS! The reducer had a secret dependency on the DOM data, which you now removed to be payload on the action object instead.  "}}