{"action":"created","comment":{"url":"https://api.github.com/repos/gaech/course/pulls/comments/123672814","pull_request_review_id":45899807,"id":123672814,"diff_hunk":"@@ -0,0 +1,42 @@\n+<!DOCTYPE html>\n+\n+<head>\n+\t<meta charset=\"utf-8\">\n+\t<title>ex-05-02</title>\n+</head>\n+\n+<body>\n+\t<script>\n+\t\tfunction sort(input) {\n+\n+\t\t\tvar input = input.replace(/\\s+/g, ' ').trim();\n+\n+\t\t\tif (input.length == 0) {\n+\t\t\t\treturn [];\n+\t\t\t}\n+\n+\t\t\tvar arrUnsorted = input.split(\" \");\n+\n+\t\t\tvar arrObj = [];\n+\t\t\tfor (var i = 0; i < arrUnsorted.length; i++) {","path":"05 JavaScript Basics/homework/anmike/02/ex-05-02.html","position":21,"original_position":21,"commit_id":"b99fadaa5f48b817839bacfe33342b26a358141c","original_commit_id":"b99fadaa5f48b817839bacfe33342b26a358141c","user":{"login":"gaech","id":122259,"avatar_url":"https://avatars2.githubusercontent.com/u/122259?v=3","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"body":"Тут тоже можно использовать `map`","created_at":"2017-06-23T05:04:08Z","updated_at":"2017-06-23T05:04:12Z","html_url":"https://github.com/gaech/course/pull/156#discussion_r123672814","pull_request_url":"https://api.github.com/repos/gaech/course/pulls/156","_links":{"self":{"href":"https://api.github.com/repos/gaech/course/pulls/comments/123672814"},"html":{"href":"https://github.com/gaech/course/pull/156#discussion_r123672814"},"pull_request":{"href":"https://api.github.com/repos/gaech/course/pulls/156"}}},"pull_request":{"url":"https://api.github.com/repos/gaech/course/pulls/156","id":126581570,"html_url":"https://github.com/gaech/course/pull/156","diff_url":"https://github.com/gaech/course/pull/156.diff","patch_url":"https://github.com/gaech/course/pull/156.patch","issue_url":"https://api.github.com/repos/gaech/course/issues/156","number":156,"state":"open","locked":false,"title":"ex-05-02","user":{"login":"anmike","id":25549615,"avatar_url":"https://avatars2.githubusercontent.com/u/25549615?v=3","gravatar_id":"","url":"https://api.github.com/users/anmike","html_url":"https://github.com/anmike","followers_url":"https://api.github.com/users/anmike/followers","following_url":"https://api.github.com/users/anmike/following{/other_user}","gists_url":"https://api.github.com/users/anmike/gists{/gist_id}","starred_url":"https://api.github.com/users/anmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmike/subscriptions","organizations_url":"https://api.github.com/users/anmike/orgs","repos_url":"https://api.github.com/users/anmike/repos","events_url":"https://api.github.com/users/anmike/events{/privacy}","received_events_url":"https://api.github.com/users/anmike/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-06-20T16:54:44Z","updated_at":"2017-06-23T05:04:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c2f80c90955dd9990ee8c2f399e4c74ba0e5bdda","assignee":{"login":"gaech","id":122259,"avatar_url":"https://avatars2.githubusercontent.com/u/122259?v=3","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"assignees":[{"login":"gaech","id":122259,"avatar_url":"https://avatars2.githubusercontent.com/u/122259?v=3","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/gaech/course/pulls/156/commits","review_comments_url":"https://api.github.com/repos/gaech/course/pulls/156/comments","review_comment_url":"https://api.github.com/repos/gaech/course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gaech/course/issues/156/comments","statuses_url":"https://api.github.com/repos/gaech/course/statuses/b99fadaa5f48b817839bacfe33342b26a358141c","head":{"label":"anmike:ex-05-02","ref":"ex-05-02","sha":"b99fadaa5f48b817839bacfe33342b26a358141c","user":{"login":"anmike","id":25549615,"avatar_url":"https://avatars2.githubusercontent.com/u/25549615?v=3","gravatar_id":"","url":"https://api.github.com/users/anmike","html_url":"https://github.com/anmike","followers_url":"https://api.github.com/users/anmike/followers","following_url":"https://api.github.com/users/anmike/following{/other_user}","gists_url":"https://api.github.com/users/anmike/gists{/gist_id}","starred_url":"https://api.github.com/users/anmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmike/subscriptions","organizations_url":"https://api.github.com/users/anmike/orgs","repos_url":"https://api.github.com/users/anmike/repos","events_url":"https://api.github.com/users/anmike/events{/privacy}","received_events_url":"https://api.github.com/users/anmike/received_events","type":"User","site_admin":false},"repo":{"id":80923362,"name":"course","full_name":"anmike/course","owner":{"login":"anmike","id":25549615,"avatar_url":"https://avatars2.githubusercontent.com/u/25549615?v=3","gravatar_id":"","url":"https://api.github.com/users/anmike","html_url":"https://github.com/anmike","followers_url":"https://api.github.com/users/anmike/followers","following_url":"https://api.github.com/users/anmike/following{/other_user}","gists_url":"https://api.github.com/users/anmike/gists{/gist_id}","starred_url":"https://api.github.com/users/anmike/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anmike/subscriptions","organizations_url":"https://api.github.com/users/anmike/orgs","repos_url":"https://api.github.com/users/anmike/repos","events_url":"https://api.github.com/users/anmike/events{/privacy}","received_events_url":"https://api.github.com/users/anmike/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/anmike/course","description":null,"fork":true,"url":"https://api.github.com/repos/anmike/course","forks_url":"https://api.github.com/repos/anmike/course/forks","keys_url":"https://api.github.com/repos/anmike/course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/anmike/course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/anmike/course/teams","hooks_url":"https://api.github.com/repos/anmike/course/hooks","issue_events_url":"https://api.github.com/repos/anmike/course/issues/events{/number}","events_url":"https://api.github.com/repos/anmike/course/events","assignees_url":"https://api.github.com/repos/anmike/course/assignees{/user}","branches_url":"https://api.github.com/repos/anmike/course/branches{/branch}","tags_url":"https://api.github.com/repos/anmike/course/tags","blobs_url":"https://api.github.com/repos/anmike/course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/anmike/course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/anmike/course/git/refs{/sha}","trees_url":"https://api.github.com/repos/anmike/course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/anmike/course/statuses/{sha}","languages_url":"https://api.github.com/repos/anmike/course/languages","stargazers_url":"https://api.github.com/repos/anmike/course/stargazers","contributors_url":"https://api.github.com/repos/anmike/course/contributors","subscribers_url":"https://api.github.com/repos/anmike/course/subscribers","subscription_url":"https://api.github.com/repos/anmike/course/subscription","commits_url":"https://api.github.com/repos/anmike/course/commits{/sha}","git_commits_url":"https://api.github.com/repos/anmike/course/git/commits{/sha}","comments_url":"https://api.github.com/repos/anmike/course/comments{/number}","issue_comment_url":"https://api.github.com/repos/anmike/course/issues/comments{/number}","contents_url":"https://api.github.com/repos/anmike/course/contents/{+path}","compare_url":"https://api.github.com/repos/anmike/course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/anmike/course/merges","archive_url":"https://api.github.com/repos/anmike/course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/anmike/course/downloads","issues_url":"https://api.github.com/repos/anmike/course/issues{/number}","pulls_url":"https://api.github.com/repos/anmike/course/pulls{/number}","milestones_url":"https://api.github.com/repos/anmike/course/milestones{/number}","notifications_url":"https://api.github.com/repos/anmike/course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/anmike/course/labels{/name}","releases_url":"https://api.github.com/repos/anmike/course/releases{/id}","deployments_url":"https://api.github.com/repos/anmike/course/deployments","created_at":"2017-02-04T14:09:00Z","updated_at":"2017-02-04T14:09:01Z","pushed_at":"2017-06-22T23:25:04Z","git_url":"git://github.com/anmike/course.git","ssh_url":"git@github.com:anmike/course.git","clone_url":"https://github.com/anmike/course.git","svn_url":"https://github.com/anmike/course","homepage":null,"size":5769,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"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":"gaech:master","ref":"master","sha":"943312f5b08869b7cf23c6ecde45e3a8f1defd9a","user":{"login":"gaech","id":122259,"avatar_url":"https://avatars2.githubusercontent.com/u/122259?v=3","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"repo":{"id":80828946,"name":"course","full_name":"gaech/course","owner":{"login":"gaech","id":122259,"avatar_url":"https://avatars2.githubusercontent.com/u/122259?v=3","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaech/course","description":null,"fork":false,"url":"https://api.github.com/repos/gaech/course","forks_url":"https://api.github.com/repos/gaech/course/forks","keys_url":"https://api.github.com/repos/gaech/course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaech/course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaech/course/teams","hooks_url":"https://api.github.com/repos/gaech/course/hooks","issue_events_url":"https://api.github.com/repos/gaech/course/issues/events{/number}","events_url":"https://api.github.com/repos/gaech/course/events","assignees_url":"https://api.github.com/repos/gaech/course/assignees{/user}","branches_url":"https://api.github.com/repos/gaech/course/branches{/branch}","tags_url":"https://api.github.com/repos/gaech/course/tags","blobs_url":"https://api.github.com/repos/gaech/course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaech/course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaech/course/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaech/course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaech/course/statuses/{sha}","languages_url":"https://api.github.com/repos/gaech/course/languages","stargazers_url":"https://api.github.com/repos/gaech/course/stargazers","contributors_url":"https://api.github.com/repos/gaech/course/contributors","subscribers_url":"https://api.github.com/repos/gaech/course/subscribers","subscription_url":"https://api.github.com/repos/gaech/course/subscription","commits_url":"https://api.github.com/repos/gaech/course/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaech/course/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaech/course/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaech/course/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaech/course/contents/{+path}","compare_url":"https://api.github.com/repos/gaech/course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaech/course/merges","archive_url":"https://api.github.com/repos/gaech/course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaech/course/downloads","issues_url":"https://api.github.com/repos/gaech/course/issues{/number}","pulls_url":"https://api.github.com/repos/gaech/course/pulls{/number}","milestones_url":"https://api.github.com/repos/gaech/course/milestones{/number}","notifications_url":"https://api.github.com/repos/gaech/course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaech/course/labels{/name}","releases_url":"https://api.github.com/repos/gaech/course/releases{/id}","deployments_url":"https://api.github.com/repos/gaech/course/deployments","created_at":"2017-02-03T12:55:02Z","updated_at":"2017-02-07T15:56:26Z","pushed_at":"2017-06-22T23:26:00Z","git_url":"git://github.com/gaech/course.git","ssh_url":"git@github.com:gaech/course.git","clone_url":"https://github.com/gaech/course.git","svn_url":"https://github.com/gaech/course","homepage":null,"size":5766,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":9,"forks":10,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gaech/course/pulls/156"},"html":{"href":"https://github.com/gaech/course/pull/156"},"issue":{"href":"https://api.github.com/repos/gaech/course/issues/156"},"comments":{"href":"https://api.github.com/repos/gaech/course/issues/156/comments"},"review_comments":{"href":"https://api.github.com/repos/gaech/course/pulls/156/comments"},"review_comment":{"href":"https://api.github.com/repos/gaech/course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gaech/course/pulls/156/commits"},"statuses":{"href":"https://api.github.com/repos/gaech/course/statuses/b99fadaa5f48b817839bacfe33342b26a358141c"}}}}
{"actor":{"display_login":"gaech"}}