{"action":"created","comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/23123642","id":23123642,"diff_hunk":"@@ -224,9 +224,10 @@ var LotteryGiveAway = (function () {\n \t\tfor (var id in this.winners) {\n \t\t\tfinallist.push(this.winners[id].name);\n \t\t}\n+\t\tvar finallength = finallist.length;","path":"chat-plugins/wifi.js","position":17,"original_position":17,"commit_id":"dad5e53656e4caa42fee23e44464d58286a43d75","original_commit_id":"dad5e53656e4caa42fee23e44464d58286a43d75","user":{"login":"SilverTactic","id":5235804,"avatar_url":"https://avatars.githubusercontent.com/u/5235804?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverTactic","html_url":"https://github.com/SilverTactic","followers_url":"https://api.github.com/users/SilverTactic/followers","following_url":"https://api.github.com/users/SilverTactic/following{/other_user}","gists_url":"https://api.github.com/users/SilverTactic/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverTactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverTactic/subscriptions","organizations_url":"https://api.github.com/users/SilverTactic/orgs","repos_url":"https://api.github.com/users/SilverTactic/repos","events_url":"https://api.github.com/users/SilverTactic/events{/privacy}","received_events_url":"https://api.github.com/users/SilverTactic/received_events","type":"User","site_admin":false},"body":"Yeah, I suppose I could do that. So it'd be something like-\r\nvar finallength = (finallist.length === 1 ? 'winner' : 'winners');","created_at":"2015-01-17T07:46:24Z","updated_at":"2015-01-17T07:46:24Z","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1439#discussion_r23123642","pull_request_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439","_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/23123642"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1439#discussion_r23123642"},"pull_request":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439"}}},"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439","id":27499524,"html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1439","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1439.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/1439.patch","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1439","number":1439,"state":"open","locked":false,"title":"Made grammatical changes","user":{"login":"SilverTactic","id":5235804,"avatar_url":"https://avatars.githubusercontent.com/u/5235804?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverTactic","html_url":"https://github.com/SilverTactic","followers_url":"https://api.github.com/users/SilverTactic/followers","following_url":"https://api.github.com/users/SilverTactic/following{/other_user}","gists_url":"https://api.github.com/users/SilverTactic/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverTactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverTactic/subscriptions","organizations_url":"https://api.github.com/users/SilverTactic/orgs","repos_url":"https://api.github.com/users/SilverTactic/repos","events_url":"https://api.github.com/users/SilverTactic/events{/privacy}","received_events_url":"https://api.github.com/users/SilverTactic/received_events","type":"User","site_admin":false},"body":"Created a new pull, because I'm not too good with git. ._.","created_at":"2015-01-16T11:32:52Z","updated_at":"2015-01-17T07:46:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ee504f3da52e73b2cc5d4f56387dba4bd0e35b1f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439/commits","review_comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439/comments","review_comment_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/{number}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1439/comments","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/dad5e53656e4caa42fee23e44464d58286a43d75","head":{"label":"SilverTactic:patch-4","ref":"patch-4","sha":"dad5e53656e4caa42fee23e44464d58286a43d75","user":{"login":"SilverTactic","id":5235804,"avatar_url":"https://avatars.githubusercontent.com/u/5235804?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverTactic","html_url":"https://github.com/SilverTactic","followers_url":"https://api.github.com/users/SilverTactic/followers","following_url":"https://api.github.com/users/SilverTactic/following{/other_user}","gists_url":"https://api.github.com/users/SilverTactic/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverTactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverTactic/subscriptions","organizations_url":"https://api.github.com/users/SilverTactic/orgs","repos_url":"https://api.github.com/users/SilverTactic/repos","events_url":"https://api.github.com/users/SilverTactic/events{/privacy}","received_events_url":"https://api.github.com/users/SilverTactic/received_events","type":"User","site_admin":false},"repo":{"id":24759130,"name":"Pokemon-Showdown","full_name":"SilverTactic/Pokemon-Showdown","owner":{"login":"SilverTactic","id":5235804,"avatar_url":"https://avatars.githubusercontent.com/u/5235804?v=3","gravatar_id":"","url":"https://api.github.com/users/SilverTactic","html_url":"https://github.com/SilverTactic","followers_url":"https://api.github.com/users/SilverTactic/followers","following_url":"https://api.github.com/users/SilverTactic/following{/other_user}","gists_url":"https://api.github.com/users/SilverTactic/gists{/gist_id}","starred_url":"https://api.github.com/users/SilverTactic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SilverTactic/subscriptions","organizations_url":"https://api.github.com/users/SilverTactic/orgs","repos_url":"https://api.github.com/users/SilverTactic/repos","events_url":"https://api.github.com/users/SilverTactic/events{/privacy}","received_events_url":"https://api.github.com/users/SilverTactic/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SilverTactic/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown","forks_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/issues/comments/{number}","contents_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/SilverTactic/Pokemon-Showdown/releases{/id}","created_at":"2014-10-03T13:20:55Z","updated_at":"2015-01-09T15:03:41Z","pushed_at":"2015-01-16T11:32:43Z","git_url":"git://github.com/SilverTactic/Pokemon-Showdown.git","ssh_url":"git@github.com:SilverTactic/Pokemon-Showdown.git","clone_url":"https://github.com/SilverTactic/Pokemon-Showdown.git","svn_url":"https://github.com/SilverTactic/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":35292,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":0,"forks":3,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Zarel:master","ref":"master","sha":"63fc45305e05d9a745867a9ed6098a493b836659","user":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"repo":{"id":3038446,"name":"Pokemon-Showdown","full_name":"Zarel/Pokemon-Showdown","owner":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zarel/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":false,"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown","forks_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/comments/{number}","contents_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/releases{/id}","created_at":"2011-12-23T04:52:33Z","updated_at":"2015-01-17T02:41:22Z","pushed_at":"2015-01-17T02:41:21Z","git_url":"git://github.com/Zarel/Pokemon-Showdown.git","ssh_url":"git@github.com:Zarel/Pokemon-Showdown.git","clone_url":"https://github.com/Zarel/Pokemon-Showdown.git","svn_url":"https://github.com/Zarel/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":54628,"stargazers_count":436,"watchers_count":436,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":579,"mirror_url":null,"open_issues_count":26,"forks":579,"open_issues":26,"watchers":436,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/1439"},"issue":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1439"},"comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/1439/comments"},"review_comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439/comments"},"review_comment":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/1439/commits"},"statuses":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/dad5e53656e4caa42fee23e44464d58286a43d75"}}}}