{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/comments/113369859","pull_request_review_id":34750424,"id":113369859,"diff_hunk":"@@ -35,15 +35,20 @@ window.card = (function () {\n   };\n \n   // отображение объявления\n-  var showCard = function (ad) {\n+  var showCard = function (ad, cb) {\n     dialog.replaceChild(renderCard(ad), dialog.querySelector('.dialog__panel'));\n     dialogTitleImg.src = ad.author.avatar;\n+    callback = cb;\n   };\n \n   // закрыть объявление\n   var closeCard = function () {\n     window.utils.toggleClass(dialog, 'hidden', true);\n-    window.pin.removePinActiveClass();\n+    // window.pin.removePinActiveClass();","path":"js/show-card.js","position":24,"original_position":24,"commit_id":"e379b13aa32caca5aa58c7a6f3628d1f7b6d9882","original_commit_id":"e379b13aa32caca5aa58c7a6f3628d1f7b6d9882","user":{"login":"Spearance","id":5271553,"avatar_url":"https://avatars0.githubusercontent.com/u/5271553?v=3","gravatar_id":"","url":"https://api.github.com/users/Spearance","html_url":"https://github.com/Spearance","followers_url":"https://api.github.com/users/Spearance/followers","following_url":"https://api.github.com/users/Spearance/following{/other_user}","gists_url":"https://api.github.com/users/Spearance/gists{/gist_id}","starred_url":"https://api.github.com/users/Spearance/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spearance/subscriptions","organizations_url":"https://api.github.com/users/Spearance/orgs","repos_url":"https://api.github.com/users/Spearance/repos","events_url":"https://api.github.com/users/Spearance/events{/privacy}","received_events_url":"https://api.github.com/users/Spearance/received_events","type":"User","site_admin":false},"body":"не нужно оставлять комментарии в виде кода","created_at":"2017-04-26T05:47:48Z","updated_at":"2017-04-26T05:47:48Z","html_url":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8#discussion_r113369859","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/comments/113369859"},"html":{"href":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8#discussion_r113369859"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8","id":117597809,"html_url":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8","diff_url":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8.diff","patch_url":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/8","number":8,"state":"open","locked":false,"title":"Личный проект: надо подкачаться","user":{"login":"ekompanets","id":10705896,"avatar_url":"https://avatars2.githubusercontent.com/u/10705896?v=3","gravatar_id":"","url":"https://api.github.com/users/ekompanets","html_url":"https://github.com/ekompanets","followers_url":"https://api.github.com/users/ekompanets/followers","following_url":"https://api.github.com/users/ekompanets/following{/other_user}","gists_url":"https://api.github.com/users/ekompanets/gists{/gist_id}","starred_url":"https://api.github.com/users/ekompanets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekompanets/subscriptions","organizations_url":"https://api.github.com/users/ekompanets/orgs","repos_url":"https://api.github.com/users/ekompanets/repos","events_url":"https://api.github.com/users/ekompanets/events{/privacy}","received_events_url":"https://api.github.com/users/ekompanets/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: надо подкачаться](https://up.htmlacademy.ru/javascript/9/user/22645/tasks/20)\n\n:boom: https://htmlacademy-javascript.github.io/22645-keksobooking/8/","created_at":"2017-04-25T22:50:46Z","updated_at":"2017-04-26T05:47:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"d3c2c0a2c132b53dfdeaee488915f3e52f2784ae","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/8/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/statuses/e379b13aa32caca5aa58c7a6f3628d1f7b6d9882","head":{"label":"ekompanets:module6-task1","ref":"module6-task1","sha":"e379b13aa32caca5aa58c7a6f3628d1f7b6d9882","user":{"login":"ekompanets","id":10705896,"avatar_url":"https://avatars2.githubusercontent.com/u/10705896?v=3","gravatar_id":"","url":"https://api.github.com/users/ekompanets","html_url":"https://github.com/ekompanets","followers_url":"https://api.github.com/users/ekompanets/followers","following_url":"https://api.github.com/users/ekompanets/following{/other_user}","gists_url":"https://api.github.com/users/ekompanets/gists{/gist_id}","starred_url":"https://api.github.com/users/ekompanets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekompanets/subscriptions","organizations_url":"https://api.github.com/users/ekompanets/orgs","repos_url":"https://api.github.com/users/ekompanets/repos","events_url":"https://api.github.com/users/ekompanets/events{/privacy}","received_events_url":"https://api.github.com/users/ekompanets/received_events","type":"User","site_admin":false},"repo":{"id":85824746,"name":"22645-keksobooking","full_name":"ekompanets/22645-keksobooking","owner":{"login":"ekompanets","id":10705896,"avatar_url":"https://avatars2.githubusercontent.com/u/10705896?v=3","gravatar_id":"","url":"https://api.github.com/users/ekompanets","html_url":"https://github.com/ekompanets","followers_url":"https://api.github.com/users/ekompanets/followers","following_url":"https://api.github.com/users/ekompanets/following{/other_user}","gists_url":"https://api.github.com/users/ekompanets/gists{/gist_id}","starred_url":"https://api.github.com/users/ekompanets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ekompanets/subscriptions","organizations_url":"https://api.github.com/users/ekompanets/orgs","repos_url":"https://api.github.com/users/ekompanets/repos","events_url":"https://api.github.com/users/ekompanets/events{/privacy}","received_events_url":"https://api.github.com/users/ekompanets/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ekompanets/22645-keksobooking","description":"Elena Kompanets","fork":true,"url":"https://api.github.com/repos/ekompanets/22645-keksobooking","forks_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/forks","keys_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/teams","hooks_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/events","assignees_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/tags","blobs_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/languages","stargazers_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/subscription","commits_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/merges","archive_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/downloads","issues_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/ekompanets/22645-keksobooking/deployments","created_at":"2017-03-22T12:26:20Z","updated_at":"2017-04-21T14:38:19Z","pushed_at":"2017-04-25T23:08:13Z","git_url":"git://github.com/ekompanets/22645-keksobooking.git","ssh_url":"git@github.com:ekompanets/22645-keksobooking.git","clone_url":"https://github.com/ekompanets/22645-keksobooking.git","svn_url":"https://github.com/ekompanets/22645-keksobooking","homepage":null,"size":2051,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"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":"htmlacademy-javascript:master","ref":"master","sha":"865ab6abcca9e25b819c5fd48e19936763c500df","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars1.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":85824687,"name":"22645-keksobooking","full_name":"htmlacademy-javascript/22645-keksobooking","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars1.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/22645-keksobooking","description":"Elena Kompanets","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking","forks_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/deployments","created_at":"2017-03-22T12:25:46Z","updated_at":"2017-04-21T12:15:05Z","pushed_at":"2017-04-26T05:44:32Z","git_url":"git://github.com/htmlacademy-javascript/22645-keksobooking.git","ssh_url":"git@github.com:htmlacademy-javascript/22645-keksobooking.git","clone_url":"https://github.com/htmlacademy-javascript/22645-keksobooking.git","svn_url":"https://github.com/htmlacademy-javascript/22645-keksobooking","homepage":"https://github.com/ekompanets/22645-keksobooking","size":2059,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8"},"html":{"href":"https://github.com/htmlacademy-javascript/22645-keksobooking/pull/8"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/8"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/22645-keksobooking/statuses/e379b13aa32caca5aa58c7a6f3628d1f7b6d9882"}}}}
{"actor":{"display_login":"Spearance"}}