{"action":"created","comment":{"url":"https://api.github.com/repos/seiyria/c/pulls/comments/29994096","id":29994096,"diff_hunk":"@@ -124,6 +146,10 @@ var gameState = function($q, notificationService, $filter, UPGRADES, GainCalcula","path":"src/js/gamestate.js","position":58,"original_position":58,"commit_id":"45376a639e8f233f7b6a472a3185c39b927d487f","original_commit_id":"45376a639e8f233f7b6a472a3185c39b927d487f","user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/versioned/images/favicon.png) Issue found: [This function's cyclomatic complexity is too high. (8)](https://www.codacy.com/app/seiyria/c/file/626050834/issues/source?bid=2277746&fileBranchId=2301504#l146)","created_at":"2015-05-09T16:35:11Z","updated_at":"2015-05-09T16:35:11Z","html_url":"https://github.com/seiyria/c/pull/16#discussion_r29994096","pull_request_url":"https://api.github.com/repos/seiyria/c/pulls/16","_links":{"self":{"href":"https://api.github.com/repos/seiyria/c/pulls/comments/29994096"},"html":{"href":"https://github.com/seiyria/c/pull/16#discussion_r29994096"},"pull_request":{"href":"https://api.github.com/repos/seiyria/c/pulls/16"}}},"pull_request":{"url":"https://api.github.com/repos/seiyria/c/pulls/16","id":35061551,"html_url":"https://github.com/seiyria/c/pull/16","diff_url":"https://github.com/seiyria/c/pull/16.diff","patch_url":"https://github.com/seiyria/c/pull/16.patch","issue_url":"https://api.github.com/repos/seiyria/c/issues/16","number":16,"state":"open","locked":false,"title":"adding achievements","user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-09T04:47:12Z","updated_at":"2015-05-09T16:35:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a4f7f020d24a9bb953802b66df4db51cf681cfec","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/seiyria/c/pulls/16/commits","review_comments_url":"https://api.github.com/repos/seiyria/c/pulls/16/comments","review_comment_url":"https://api.github.com/repos/seiyria/c/pulls/comments{/number}","comments_url":"https://api.github.com/repos/seiyria/c/issues/16/comments","statuses_url":"https://api.github.com/repos/seiyria/c/statuses/45376a639e8f233f7b6a472a3185c39b927d487f","head":{"label":"seiyria:achievements","ref":"achievements","sha":"45376a639e8f233f7b6a472a3185c39b927d487f","user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"repo":{"id":34489925,"name":"c","full_name":"seiyria/c","owner":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seiyria/c","description":"","fork":false,"url":"https://api.github.com/repos/seiyria/c","forks_url":"https://api.github.com/repos/seiyria/c/forks","keys_url":"https://api.github.com/repos/seiyria/c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seiyria/c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seiyria/c/teams","hooks_url":"https://api.github.com/repos/seiyria/c/hooks","issue_events_url":"https://api.github.com/repos/seiyria/c/issues/events{/number}","events_url":"https://api.github.com/repos/seiyria/c/events","assignees_url":"https://api.github.com/repos/seiyria/c/assignees{/user}","branches_url":"https://api.github.com/repos/seiyria/c/branches{/branch}","tags_url":"https://api.github.com/repos/seiyria/c/tags","blobs_url":"https://api.github.com/repos/seiyria/c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seiyria/c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seiyria/c/git/refs{/sha}","trees_url":"https://api.github.com/repos/seiyria/c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seiyria/c/statuses/{sha}","languages_url":"https://api.github.com/repos/seiyria/c/languages","stargazers_url":"https://api.github.com/repos/seiyria/c/stargazers","contributors_url":"https://api.github.com/repos/seiyria/c/contributors","subscribers_url":"https://api.github.com/repos/seiyria/c/subscribers","subscription_url":"https://api.github.com/repos/seiyria/c/subscription","commits_url":"https://api.github.com/repos/seiyria/c/commits{/sha}","git_commits_url":"https://api.github.com/repos/seiyria/c/git/commits{/sha}","comments_url":"https://api.github.com/repos/seiyria/c/comments{/number}","issue_comment_url":"https://api.github.com/repos/seiyria/c/issues/comments{/number}","contents_url":"https://api.github.com/repos/seiyria/c/contents/{+path}","compare_url":"https://api.github.com/repos/seiyria/c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seiyria/c/merges","archive_url":"https://api.github.com/repos/seiyria/c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seiyria/c/downloads","issues_url":"https://api.github.com/repos/seiyria/c/issues{/number}","pulls_url":"https://api.github.com/repos/seiyria/c/pulls{/number}","milestones_url":"https://api.github.com/repos/seiyria/c/milestones{/number}","notifications_url":"https://api.github.com/repos/seiyria/c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seiyria/c/labels{/name}","releases_url":"https://api.github.com/repos/seiyria/c/releases{/id}","created_at":"2015-04-24T00:57:44Z","updated_at":"2015-05-07T01:35:43Z","pushed_at":"2015-05-09T14:15:12Z","git_url":"git://github.com/seiyria/c.git","ssh_url":"git@github.com:seiyria/c.git","clone_url":"https://github.com/seiyria/c.git","svn_url":"https://github.com/seiyria/c","homepage":"https://seiyria.github.io/c","size":4618,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"base":{"label":"seiyria:master","ref":"master","sha":"86090a9f610aa29538d5b56c08e3d61f1e755f20","user":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"repo":{"id":34489925,"name":"c","full_name":"seiyria/c","owner":{"login":"seiyria","id":763609,"avatar_url":"https://avatars.githubusercontent.com/u/763609?v=3","gravatar_id":"","url":"https://api.github.com/users/seiyria","html_url":"https://github.com/seiyria","followers_url":"https://api.github.com/users/seiyria/followers","following_url":"https://api.github.com/users/seiyria/following{/other_user}","gists_url":"https://api.github.com/users/seiyria/gists{/gist_id}","starred_url":"https://api.github.com/users/seiyria/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seiyria/subscriptions","organizations_url":"https://api.github.com/users/seiyria/orgs","repos_url":"https://api.github.com/users/seiyria/repos","events_url":"https://api.github.com/users/seiyria/events{/privacy}","received_events_url":"https://api.github.com/users/seiyria/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/seiyria/c","description":"","fork":false,"url":"https://api.github.com/repos/seiyria/c","forks_url":"https://api.github.com/repos/seiyria/c/forks","keys_url":"https://api.github.com/repos/seiyria/c/keys{/key_id}","collaborators_url":"https://api.github.com/repos/seiyria/c/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/seiyria/c/teams","hooks_url":"https://api.github.com/repos/seiyria/c/hooks","issue_events_url":"https://api.github.com/repos/seiyria/c/issues/events{/number}","events_url":"https://api.github.com/repos/seiyria/c/events","assignees_url":"https://api.github.com/repos/seiyria/c/assignees{/user}","branches_url":"https://api.github.com/repos/seiyria/c/branches{/branch}","tags_url":"https://api.github.com/repos/seiyria/c/tags","blobs_url":"https://api.github.com/repos/seiyria/c/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/seiyria/c/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/seiyria/c/git/refs{/sha}","trees_url":"https://api.github.com/repos/seiyria/c/git/trees{/sha}","statuses_url":"https://api.github.com/repos/seiyria/c/statuses/{sha}","languages_url":"https://api.github.com/repos/seiyria/c/languages","stargazers_url":"https://api.github.com/repos/seiyria/c/stargazers","contributors_url":"https://api.github.com/repos/seiyria/c/contributors","subscribers_url":"https://api.github.com/repos/seiyria/c/subscribers","subscription_url":"https://api.github.com/repos/seiyria/c/subscription","commits_url":"https://api.github.com/repos/seiyria/c/commits{/sha}","git_commits_url":"https://api.github.com/repos/seiyria/c/git/commits{/sha}","comments_url":"https://api.github.com/repos/seiyria/c/comments{/number}","issue_comment_url":"https://api.github.com/repos/seiyria/c/issues/comments{/number}","contents_url":"https://api.github.com/repos/seiyria/c/contents/{+path}","compare_url":"https://api.github.com/repos/seiyria/c/compare/{base}...{head}","merges_url":"https://api.github.com/repos/seiyria/c/merges","archive_url":"https://api.github.com/repos/seiyria/c/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/seiyria/c/downloads","issues_url":"https://api.github.com/repos/seiyria/c/issues{/number}","pulls_url":"https://api.github.com/repos/seiyria/c/pulls{/number}","milestones_url":"https://api.github.com/repos/seiyria/c/milestones{/number}","notifications_url":"https://api.github.com/repos/seiyria/c/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/seiyria/c/labels{/name}","releases_url":"https://api.github.com/repos/seiyria/c/releases{/id}","created_at":"2015-04-24T00:57:44Z","updated_at":"2015-05-07T01:35:43Z","pushed_at":"2015-05-09T14:15:12Z","git_url":"git://github.com/seiyria/c.git","ssh_url":"git@github.com:seiyria/c.git","clone_url":"https://github.com/seiyria/c.git","svn_url":"https://github.com/seiyria/c","homepage":"https://seiyria.github.io/c","size":4618,"stargazers_count":4,"watchers_count":4,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":1,"forks":4,"open_issues":1,"watchers":4,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/seiyria/c/pulls/16"},"html":{"href":"https://github.com/seiyria/c/pull/16"},"issue":{"href":"https://api.github.com/repos/seiyria/c/issues/16"},"comments":{"href":"https://api.github.com/repos/seiyria/c/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/seiyria/c/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/seiyria/c/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/seiyria/c/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/seiyria/c/statuses/45376a639e8f233f7b6a472a3185c39b927d487f"}}}}