{"action":"created","comment":{"url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/comments/253829482","pull_request_review_id":200029359,"id":253829482,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI1MzgyOTQ4Mg==","diff_hunk":"@@ -0,0 +1,30 @@\n+'use strict';\n+\n+function euclid(...values) {\n+\tif (values.length <= 1) {\n+\t\treturn values[0];\n+\t}\n+\n+\tvar nod = function (val1, val2) {\n+\t\tif (!(val1 && val2)) {","path":"source/euclid.js","position":9,"original_position":9,"commit_id":"48ece0020fc727d8d7f15fc29aaabb8e6e15dc04","original_commit_id":"6b2bcfb67b967ffc072d461a0ffd3dd554a33d65","user":{"login":"reo7sp","id":1623280,"node_id":"MDQ6VXNlcjE2MjMyODA=","avatar_url":"https://avatars1.githubusercontent.com/u/1623280?v=4","gravatar_id":"","url":"https://api.github.com/users/reo7sp","html_url":"https://github.com/reo7sp","followers_url":"https://api.github.com/users/reo7sp/followers","following_url":"https://api.github.com/users/reo7sp/following{/other_user}","gists_url":"https://api.github.com/users/reo7sp/gists{/gist_id}","starred_url":"https://api.github.com/users/reo7sp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reo7sp/subscriptions","organizations_url":"https://api.github.com/users/reo7sp/orgs","repos_url":"https://api.github.com/users/reo7sp/repos","events_url":"https://api.github.com/users/reo7sp/events{/privacy}","received_events_url":"https://api.github.com/users/reo7sp/received_events","type":"User","site_admin":false},"body":"Я видел коммит, когда ты переделал простой if на вот такой if)) Я бы порекомендовал вернуть, так как обычно лучше, когда код проще и более явный","created_at":"2019-02-05T11:41:55Z","updated_at":"2019-02-05T11:54:37Z","html_url":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6#discussion_r253829482","pull_request_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/comments/253829482"},"html":{"href":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6#discussion_r253829482"},"pull_request":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6","id":250323256,"node_id":"MDExOlB1bGxSZXF1ZXN0MjUwMzIzMjU2","html_url":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6","diff_url":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6.diff","patch_url":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6.patch","issue_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/6","number":6,"state":"open","locked":false,"title":"Андреященко Михаил, вариант 2","user":{"login":"Xenobyte42","id":42386222,"node_id":"MDQ6VXNlcjQyMzg2MjIy","avatar_url":"https://avatars0.githubusercontent.com/u/42386222?v=4","gravatar_id":"","url":"https://api.github.com/users/Xenobyte42","html_url":"https://github.com/Xenobyte42","followers_url":"https://api.github.com/users/Xenobyte42/followers","following_url":"https://api.github.com/users/Xenobyte42/following{/other_user}","gists_url":"https://api.github.com/users/Xenobyte42/gists{/gist_id}","starred_url":"https://api.github.com/users/Xenobyte42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xenobyte42/subscriptions","organizations_url":"https://api.github.com/users/Xenobyte42/orgs","repos_url":"https://api.github.com/users/Xenobyte42/repos","events_url":"https://api.github.com/users/Xenobyte42/events{/privacy}","received_events_url":"https://api.github.com/users/Xenobyte42/received_events","type":"User","site_admin":false},"body":"","created_at":"2019-02-05T08:56:00Z","updated_at":"2019-02-05T11:54:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"94ac9446eab8c68c1fe6a985c9bfdb32efc82dd7","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6/commits","review_comments_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6/comments","review_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/comments{/number}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/6/comments","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/statuses/48ece0020fc727d8d7f15fc29aaabb8e6e15dc04","head":{"label":"Xenobyte42:variant-2","ref":"variant-2","sha":"48ece0020fc727d8d7f15fc29aaabb8e6e15dc04","user":{"login":"Xenobyte42","id":42386222,"node_id":"MDQ6VXNlcjQyMzg2MjIy","avatar_url":"https://avatars0.githubusercontent.com/u/42386222?v=4","gravatar_id":"","url":"https://api.github.com/users/Xenobyte42","html_url":"https://github.com/Xenobyte42","followers_url":"https://api.github.com/users/Xenobyte42/followers","following_url":"https://api.github.com/users/Xenobyte42/following{/other_user}","gists_url":"https://api.github.com/users/Xenobyte42/gists{/gist_id}","starred_url":"https://api.github.com/users/Xenobyte42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xenobyte42/subscriptions","organizations_url":"https://api.github.com/users/Xenobyte42/orgs","repos_url":"https://api.github.com/users/Xenobyte42/repos","events_url":"https://api.github.com/users/Xenobyte42/events{/privacy}","received_events_url":"https://api.github.com/users/Xenobyte42/received_events","type":"User","site_admin":false},"repo":{"id":169206718,"node_id":"MDEwOlJlcG9zaXRvcnkxNjkyMDY3MTg=","name":"frontend-homework","full_name":"Xenobyte42/frontend-homework","private":false,"owner":{"login":"Xenobyte42","id":42386222,"node_id":"MDQ6VXNlcjQyMzg2MjIy","avatar_url":"https://avatars0.githubusercontent.com/u/42386222?v=4","gravatar_id":"","url":"https://api.github.com/users/Xenobyte42","html_url":"https://github.com/Xenobyte42","followers_url":"https://api.github.com/users/Xenobyte42/followers","following_url":"https://api.github.com/users/Xenobyte42/following{/other_user}","gists_url":"https://api.github.com/users/Xenobyte42/gists{/gist_id}","starred_url":"https://api.github.com/users/Xenobyte42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xenobyte42/subscriptions","organizations_url":"https://api.github.com/users/Xenobyte42/orgs","repos_url":"https://api.github.com/users/Xenobyte42/repos","events_url":"https://api.github.com/users/Xenobyte42/events{/privacy}","received_events_url":"https://api.github.com/users/Xenobyte42/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Xenobyte42/frontend-homework","description":"Introductory homework for the course \"Frontend-development\"","fork":true,"url":"https://api.github.com/repos/Xenobyte42/frontend-homework","forks_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/forks","keys_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/teams","hooks_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/hooks","issue_events_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/issues/events{/number}","events_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/events","assignees_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/assignees{/user}","branches_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/branches{/branch}","tags_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/tags","blobs_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/languages","stargazers_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/stargazers","contributors_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/contributors","subscribers_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/subscribers","subscription_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/subscription","commits_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/contents/{+path}","compare_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/merges","archive_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/downloads","issues_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/issues{/number}","pulls_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/labels{/name}","releases_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/releases{/id}","deployments_url":"https://api.github.com/repos/Xenobyte42/frontend-homework/deployments","created_at":"2019-02-05T07:52:09Z","updated_at":"2019-02-05T07:52:11Z","pushed_at":"2019-02-05T11:46:45Z","git_url":"git://github.com/Xenobyte42/frontend-homework.git","ssh_url":"git@github.com:Xenobyte42/frontend-homework.git","clone_url":"https://github.com/Xenobyte42/frontend-homework.git","svn_url":"https://github.com/Xenobyte42/frontend-homework","homepage":null,"size":137,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"frontend-park-mail-ru:variant-2","ref":"variant-2","sha":"bd473a38e17a5a7fb4b87b0de7057352fd1e8684","user":{"login":"frontend-park-mail-ru","id":16650333,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NjUwMzMz","avatar_url":"https://avatars3.githubusercontent.com/u/16650333?v=4","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"repo":{"id":169061057,"node_id":"MDEwOlJlcG9zaXRvcnkxNjkwNjEwNTc=","name":"frontend-homework","full_name":"frontend-park-mail-ru/frontend-homework","private":false,"owner":{"login":"frontend-park-mail-ru","id":16650333,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NjUwMzMz","avatar_url":"https://avatars3.githubusercontent.com/u/16650333?v=4","gravatar_id":"","url":"https://api.github.com/users/frontend-park-mail-ru","html_url":"https://github.com/frontend-park-mail-ru","followers_url":"https://api.github.com/users/frontend-park-mail-ru/followers","following_url":"https://api.github.com/users/frontend-park-mail-ru/following{/other_user}","gists_url":"https://api.github.com/users/frontend-park-mail-ru/gists{/gist_id}","starred_url":"https://api.github.com/users/frontend-park-mail-ru/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frontend-park-mail-ru/subscriptions","organizations_url":"https://api.github.com/users/frontend-park-mail-ru/orgs","repos_url":"https://api.github.com/users/frontend-park-mail-ru/repos","events_url":"https://api.github.com/users/frontend-park-mail-ru/events{/privacy}","received_events_url":"https://api.github.com/users/frontend-park-mail-ru/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/frontend-park-mail-ru/frontend-homework","description":"Introductory homework for the course \"Frontend-development\"","fork":false,"url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework","forks_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/forks","keys_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/keys{/key_id}","collaborators_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/teams","hooks_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/hooks","issue_events_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/events{/number}","events_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/events","assignees_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/assignees{/user}","branches_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/branches{/branch}","tags_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/tags","blobs_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/git/refs{/sha}","trees_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/git/trees{/sha}","statuses_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/statuses/{sha}","languages_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/languages","stargazers_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/stargazers","contributors_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/contributors","subscribers_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/subscribers","subscription_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/subscription","commits_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/commits{/sha}","git_commits_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/git/commits{/sha}","comments_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/comments{/number}","issue_comment_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/comments{/number}","contents_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/contents/{+path}","compare_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/compare/{base}...{head}","merges_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/merges","archive_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/downloads","issues_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues{/number}","pulls_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls{/number}","milestones_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/milestones{/number}","notifications_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/labels{/name}","releases_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/releases{/id}","deployments_url":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/deployments","created_at":"2019-02-04T10:22:35Z","updated_at":"2019-02-04T23:48:15Z","pushed_at":"2019-02-05T11:52:16Z","git_url":"git://github.com/frontend-park-mail-ru/frontend-homework.git","ssh_url":"git@github.com:frontend-park-mail-ru/frontend-homework.git","clone_url":"https://github.com/frontend-park-mail-ru/frontend-homework.git","svn_url":"https://github.com/frontend-park-mail-ru/frontend-homework","homepage":null,"size":135,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":10,"open_issues":8,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6"},"html":{"href":"https://github.com/frontend-park-mail-ru/frontend-homework/pull/6"},"issue":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/6"},"comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/frontend-park-mail-ru/frontend-homework/statuses/48ece0020fc727d8d7f15fc29aaabb8e6e15dc04"}},"author_association":"NONE"}}
{"actor":{"display_login":"reo7sp"}}