{"action":"closed","number":2368,"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2368","id":55574625,"html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2368","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2368.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/2368.patch","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2368","number":2368,"state":"closed","locked":false,"title":"Simplify sampleNoReplace function","user":{"login":"urkerab","id":13849513,"avatar_url":"https://avatars.githubusercontent.com/u/13849513?v=3","gravatar_id":"","url":"https://api.github.com/users/urkerab","html_url":"https://github.com/urkerab","followers_url":"https://api.github.com/users/urkerab/followers","following_url":"https://api.github.com/users/urkerab/following{/other_user}","gists_url":"https://api.github.com/users/urkerab/gists{/gist_id}","starred_url":"https://api.github.com/users/urkerab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urkerab/subscriptions","organizations_url":"https://api.github.com/users/urkerab/orgs","repos_url":"https://api.github.com/users/urkerab/repos","events_url":"https://api.github.com/users/urkerab/events{/privacy}","received_events_url":"https://api.github.com/users/urkerab/received_events","type":"User","site_admin":false},"body":"Short and sweet!","created_at":"2016-01-10T21:20:34Z","updated_at":"2016-01-14T04:11:45Z","closed_at":"2016-01-14T04:11:45Z","merged_at":"2016-01-14T04:11:45Z","merge_commit_sha":"10f1be5bdc85426294efc57c61b70103dd3bdf24","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2368/commits","review_comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2368/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/2368/comments","statuses_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/4a5b7f6c88bc06c26882fa41d29363f97e1b947f","head":{"label":"urkerab:sample-no-replace","ref":"sample-no-replace","sha":"4a5b7f6c88bc06c26882fa41d29363f97e1b947f","user":{"login":"urkerab","id":13849513,"avatar_url":"https://avatars.githubusercontent.com/u/13849513?v=3","gravatar_id":"","url":"https://api.github.com/users/urkerab","html_url":"https://github.com/urkerab","followers_url":"https://api.github.com/users/urkerab/followers","following_url":"https://api.github.com/users/urkerab/following{/other_user}","gists_url":"https://api.github.com/users/urkerab/gists{/gist_id}","starred_url":"https://api.github.com/users/urkerab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urkerab/subscriptions","organizations_url":"https://api.github.com/users/urkerab/orgs","repos_url":"https://api.github.com/users/urkerab/repos","events_url":"https://api.github.com/users/urkerab/events{/privacy}","received_events_url":"https://api.github.com/users/urkerab/received_events","type":"User","site_admin":false},"repo":{"id":48293631,"name":"Pokemon-Showdown","full_name":"urkerab/Pokemon-Showdown","owner":{"login":"urkerab","id":13849513,"avatar_url":"https://avatars.githubusercontent.com/u/13849513?v=3","gravatar_id":"","url":"https://api.github.com/users/urkerab","html_url":"https://github.com/urkerab","followers_url":"https://api.github.com/users/urkerab/followers","following_url":"https://api.github.com/users/urkerab/following{/other_user}","gists_url":"https://api.github.com/users/urkerab/gists{/gist_id}","starred_url":"https://api.github.com/users/urkerab/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urkerab/subscriptions","organizations_url":"https://api.github.com/users/urkerab/orgs","repos_url":"https://api.github.com/users/urkerab/repos","events_url":"https://api.github.com/users/urkerab/events{/privacy}","received_events_url":"https://api.github.com/users/urkerab/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/urkerab/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/urkerab/Pokemon-Showdown","forks_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/urkerab/Pokemon-Showdown/releases{/id}","created_at":"2015-12-19T18:56:11Z","updated_at":"2015-12-19T18:56:13Z","pushed_at":"2016-01-14T01:06:53Z","git_url":"git://github.com/urkerab/Pokemon-Showdown.git","ssh_url":"git@github.com:urkerab/Pokemon-Showdown.git","clone_url":"https://github.com/urkerab/Pokemon-Showdown.git","svn_url":"https://github.com/urkerab/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":33972,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Zarel:master","ref":"master","sha":"79bea93431f2a87e51517ddeee7b33763c9619ed","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":"2016-01-14T02:33:10Z","pushed_at":"2016-01-14T04:11:46Z","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":70523,"stargazers_count":673,"watchers_count":673,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":837,"mirror_url":null,"open_issues_count":28,"forks":837,"open_issues":28,"watchers":673,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2368"},"html":{"href":"https://github.com/Zarel/Pokemon-Showdown/pull/2368"},"issue":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2368"},"comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/2368/comments"},"review_comments":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/2368/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/2368/commits"},"statuses":{"href":"https://api.github.com/repos/Zarel/Pokemon-Showdown/statuses/4a5b7f6c88bc06c26882fa41d29363f97e1b947f"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"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},"comments":12,"review_comments":2,"commits":1,"additions":6,"deletions":3,"changed_files":1}}