{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/comments/230547100","pull_request_review_id":171318791,"id":230547100,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMDU0NzEwMA==","diff_hunk":"@@ -58,11 +161,24 @@ function find(query) {\n  * @returns {Number} – количество добавленных и обновленных записей\n  */\n function importFromCsv(csv) {\n-    // Парсим csv\n-    // Добавляем в телефонную книгу\n-    // Либо обновляем, если запись с таким телефоном уже существует\n+    let count = 0;\n+    let strs = csv.split('\\n');","path":"phone-book.js","position":154,"original_position":154,"commit_id":"cb825ea48d2d2db786273500549f5da3d067671f","original_commit_id":"cb825ea48d2d2db786273500549f5da3d067671f","user":{"login":"VasiliiKuznecov","id":8963033,"node_id":"MDQ6VXNlcjg5NjMwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/8963033?v=4","gravatar_id":"","url":"https://api.github.com/users/VasiliiKuznecov","html_url":"https://github.com/VasiliiKuznecov","followers_url":"https://api.github.com/users/VasiliiKuznecov/followers","following_url":"https://api.github.com/users/VasiliiKuznecov/following{/other_user}","gists_url":"https://api.github.com/users/VasiliiKuznecov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliiKuznecov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliiKuznecov/subscriptions","organizations_url":"https://api.github.com/users/VasiliiKuznecov/orgs","repos_url":"https://api.github.com/users/VasiliiKuznecov/repos","events_url":"https://api.github.com/users/VasiliiKuznecov/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliiKuznecov/received_events","type":"User","site_admin":false},"body":"не используй сокращенные названия","created_at":"2018-11-03T07:02:45Z","updated_at":"2018-11-03T07:03:50Z","html_url":"https://github.com/urfu-2018/javascript-task-2/pull/24#discussion_r230547100","pull_request_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/comments/230547100"},"html":{"href":"https://github.com/urfu-2018/javascript-task-2/pull/24#discussion_r230547100"},"pull_request":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24","id":224527771,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0NTI3Nzcx","html_url":"https://github.com/urfu-2018/javascript-task-2/pull/24","diff_url":"https://github.com/urfu-2018/javascript-task-2/pull/24.diff","patch_url":"https://github.com/urfu-2018/javascript-task-2/pull/24.patch","issue_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/24","number":24,"state":"open","locked":false,"title":"Монин Константин","user":{"login":"Kuvadorian","id":33116124,"node_id":"MDQ6VXNlcjMzMTE2MTI0","avatar_url":"https://avatars0.githubusercontent.com/u/33116124?v=4","gravatar_id":"","url":"https://api.github.com/users/Kuvadorian","html_url":"https://github.com/Kuvadorian","followers_url":"https://api.github.com/users/Kuvadorian/followers","following_url":"https://api.github.com/users/Kuvadorian/following{/other_user}","gists_url":"https://api.github.com/users/Kuvadorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuvadorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuvadorian/subscriptions","organizations_url":"https://api.github.com/users/Kuvadorian/orgs","repos_url":"https://api.github.com/users/Kuvadorian/repos","events_url":"https://api.github.com/users/Kuvadorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kuvadorian/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-21T09:08:28Z","updated_at":"2018-11-03T07:03:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"492921dfb1d61d932d4636bb057f04b3aa25a98d","assignee":{"login":"VasiliiKuznecov","id":8963033,"node_id":"MDQ6VXNlcjg5NjMwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/8963033?v=4","gravatar_id":"","url":"https://api.github.com/users/VasiliiKuznecov","html_url":"https://github.com/VasiliiKuznecov","followers_url":"https://api.github.com/users/VasiliiKuznecov/followers","following_url":"https://api.github.com/users/VasiliiKuznecov/following{/other_user}","gists_url":"https://api.github.com/users/VasiliiKuznecov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliiKuznecov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliiKuznecov/subscriptions","organizations_url":"https://api.github.com/users/VasiliiKuznecov/orgs","repos_url":"https://api.github.com/users/VasiliiKuznecov/repos","events_url":"https://api.github.com/users/VasiliiKuznecov/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliiKuznecov/received_events","type":"User","site_admin":false},"assignees":[{"login":"VasiliiKuznecov","id":8963033,"node_id":"MDQ6VXNlcjg5NjMwMzM=","avatar_url":"https://avatars3.githubusercontent.com/u/8963033?v=4","gravatar_id":"","url":"https://api.github.com/users/VasiliiKuznecov","html_url":"https://github.com/VasiliiKuznecov","followers_url":"https://api.github.com/users/VasiliiKuznecov/followers","following_url":"https://api.github.com/users/VasiliiKuznecov/following{/other_user}","gists_url":"https://api.github.com/users/VasiliiKuznecov/gists{/gist_id}","starred_url":"https://api.github.com/users/VasiliiKuznecov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VasiliiKuznecov/subscriptions","organizations_url":"https://api.github.com/users/VasiliiKuznecov/orgs","repos_url":"https://api.github.com/users/VasiliiKuznecov/repos","events_url":"https://api.github.com/users/VasiliiKuznecov/events{/privacy}","received_events_url":"https://api.github.com/users/VasiliiKuznecov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24/commits","review_comments_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24/comments","review_comment_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/24/comments","statuses_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/statuses/cb825ea48d2d2db786273500549f5da3d067671f","head":{"label":"Kuvadorian:master","ref":"master","sha":"cb825ea48d2d2db786273500549f5da3d067671f","user":{"login":"Kuvadorian","id":33116124,"node_id":"MDQ6VXNlcjMzMTE2MTI0","avatar_url":"https://avatars0.githubusercontent.com/u/33116124?v=4","gravatar_id":"","url":"https://api.github.com/users/Kuvadorian","html_url":"https://github.com/Kuvadorian","followers_url":"https://api.github.com/users/Kuvadorian/followers","following_url":"https://api.github.com/users/Kuvadorian/following{/other_user}","gists_url":"https://api.github.com/users/Kuvadorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuvadorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuvadorian/subscriptions","organizations_url":"https://api.github.com/users/Kuvadorian/orgs","repos_url":"https://api.github.com/users/Kuvadorian/repos","events_url":"https://api.github.com/users/Kuvadorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kuvadorian/received_events","type":"User","site_admin":false},"repo":{"id":153888981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM4ODg5ODE=","name":"javascript-task-2","full_name":"Kuvadorian/javascript-task-2","private":false,"owner":{"login":"Kuvadorian","id":33116124,"node_id":"MDQ6VXNlcjMzMTE2MTI0","avatar_url":"https://avatars0.githubusercontent.com/u/33116124?v=4","gravatar_id":"","url":"https://api.github.com/users/Kuvadorian","html_url":"https://github.com/Kuvadorian","followers_url":"https://api.github.com/users/Kuvadorian/followers","following_url":"https://api.github.com/users/Kuvadorian/following{/other_user}","gists_url":"https://api.github.com/users/Kuvadorian/gists{/gist_id}","starred_url":"https://api.github.com/users/Kuvadorian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kuvadorian/subscriptions","organizations_url":"https://api.github.com/users/Kuvadorian/orgs","repos_url":"https://api.github.com/users/Kuvadorian/repos","events_url":"https://api.github.com/users/Kuvadorian/events{/privacy}","received_events_url":"https://api.github.com/users/Kuvadorian/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Kuvadorian/javascript-task-2","description":"Задача «Телефонная книга Аркадия»","fork":true,"url":"https://api.github.com/repos/Kuvadorian/javascript-task-2","forks_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/forks","keys_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/teams","hooks_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/hooks","issue_events_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/issues/events{/number}","events_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/events","assignees_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/assignees{/user}","branches_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/branches{/branch}","tags_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/tags","blobs_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/statuses/{sha}","languages_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/languages","stargazers_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/stargazers","contributors_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/contributors","subscribers_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/subscribers","subscription_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/subscription","commits_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/contents/{+path}","compare_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/merges","archive_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/downloads","issues_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/issues{/number}","pulls_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/pulls{/number}","milestones_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/milestones{/number}","notifications_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/labels{/name}","releases_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/releases{/id}","deployments_url":"https://api.github.com/repos/Kuvadorian/javascript-task-2/deployments","created_at":"2018-10-20T09:17:01Z","updated_at":"2018-10-31T06:10:18Z","pushed_at":"2018-10-31T06:10:16Z","git_url":"git://github.com/Kuvadorian/javascript-task-2.git","ssh_url":"git@github.com:Kuvadorian/javascript-task-2.git","clone_url":"https://github.com/Kuvadorian/javascript-task-2.git","svn_url":"https://github.com/Kuvadorian/javascript-task-2","homepage":"","size":39,"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":"urfu-2018:master","ref":"master","sha":"c5e2562d6428c01e820111fc21f3e7f13f848d55","user":{"login":"urfu-2018","id":43127233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTI3MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/43127233?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2018","html_url":"https://github.com/urfu-2018","followers_url":"https://api.github.com/users/urfu-2018/followers","following_url":"https://api.github.com/users/urfu-2018/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2018/subscriptions","organizations_url":"https://api.github.com/users/urfu-2018/orgs","repos_url":"https://api.github.com/users/urfu-2018/repos","events_url":"https://api.github.com/users/urfu-2018/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2018/received_events","type":"Organization","site_admin":false},"repo":{"id":153625667,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM2MjU2Njc=","name":"javascript-task-2","full_name":"urfu-2018/javascript-task-2","private":false,"owner":{"login":"urfu-2018","id":43127233,"node_id":"MDEyOk9yZ2FuaXphdGlvbjQzMTI3MjMz","avatar_url":"https://avatars0.githubusercontent.com/u/43127233?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2018","html_url":"https://github.com/urfu-2018","followers_url":"https://api.github.com/users/urfu-2018/followers","following_url":"https://api.github.com/users/urfu-2018/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2018/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2018/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2018/subscriptions","organizations_url":"https://api.github.com/users/urfu-2018/orgs","repos_url":"https://api.github.com/users/urfu-2018/repos","events_url":"https://api.github.com/users/urfu-2018/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2018/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/urfu-2018/javascript-task-2","description":"Задача «Телефонная книга Аркадия»","fork":false,"url":"https://api.github.com/repos/urfu-2018/javascript-task-2","forks_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/forks","keys_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/teams","hooks_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/hooks","issue_events_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/events","assignees_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/tags","blobs_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/languages","stargazers_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/stargazers","contributors_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/contributors","subscribers_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/subscribers","subscription_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/subscription","commits_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/merges","archive_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/downloads","issues_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2018/javascript-task-2/deployments","created_at":"2018-10-18T13:09:54Z","updated_at":"2018-10-18T13:25:40Z","pushed_at":"2018-11-02T14:26:28Z","git_url":"git://github.com/urfu-2018/javascript-task-2.git","ssh_url":"git@github.com:urfu-2018/javascript-task-2.git","clone_url":"https://github.com/urfu-2018/javascript-task-2.git","svn_url":"https://github.com/urfu-2018/javascript-task-2","homepage":"","size":15,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":128,"mirror_url":null,"archived":false,"open_issues_count":40,"license":null,"forks":128,"open_issues":40,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24"},"html":{"href":"https://github.com/urfu-2018/javascript-task-2/pull/24"},"issue":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/24"},"comments":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/issues/24/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/pulls/24/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2018/javascript-task-2/statuses/cb825ea48d2d2db786273500549f5da3d067671f"}},"author_association":"NONE"}}
{"actor":{"display_login":"VasiliiKuznecov"}}