{"action":"opened","issue":{"url":"https://api.github.com/repos/mlapehn/connectfour/issues/1","repository_url":"https://api.github.com/repos/mlapehn/connectfour","labels_url":"https://api.github.com/repos/mlapehn/connectfour/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/mlapehn/connectfour/issues/1/comments","events_url":"https://api.github.com/repos/mlapehn/connectfour/issues/1/events","html_url":"https://github.com/mlapehn/connectfour/issues/1","id":163158008,"number":1,"title":"Dry Code ","user":{"login":"jpbarela","id":1527339,"avatar_url":"https://avatars.githubusercontent.com/u/1527339?v=3","gravatar_id":"","url":"https://api.github.com/users/jpbarela","html_url":"https://github.com/jpbarela","followers_url":"https://api.github.com/users/jpbarela/followers","following_url":"https://api.github.com/users/jpbarela/following{/other_user}","gists_url":"https://api.github.com/users/jpbarela/gists{/gist_id}","starred_url":"https://api.github.com/users/jpbarela/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jpbarela/subscriptions","organizations_url":"https://api.github.com/users/jpbarela/orgs","repos_url":"https://api.github.com/users/jpbarela/repos","events_url":"https://api.github.com/users/jpbarela/events{/privacy}","received_events_url":"https://api.github.com/users/jpbarela/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-06-30T12:52:46Z","updated_at":"2016-06-30T12:52:46Z","closed_at":null,"body":"It looks like this code is repeated several times: https://github.com/mlapehn/connectfour/blob/master/js/js.js#L100-L104.\r\n\r\nCan you refactor the code so it occurs once."}}
{"actor":{"display_login":"jpbarela"}}