{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/comments/198946752","pull_request_review_id":132972410,"id":198946752,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODk0Njc1Mg==","diff_hunk":"@@ -98,9 +106,43 @@ var createBigPhoto = function (photo) {\n var init = function () {\n   usersPhotos = initPhotos();\n   renderPhotos(usersPhotos);\n-  createBigPhoto(usersPhotos[0]);\n-  hideElement(document.querySelector('.social__comment-count'));\n-  hideElement(document.querySelector('.social__loadmore'));\n+  visuallyHideElement(document.querySelector('.social__comment-count'));\n+  visuallyHideElement(document.querySelector('.social__loadmore'));\n };\n \n init();\n+\n+\n+var ESC_KEY = 27;\n+var imageSetupElement = document.querySelector('#upload-file');\n+var imageEditElement = document.querySelector('.img-upload__overlay');\n+var closeimageEditElement = imageEditElement.querySelector('#upload-cancel');\n+var imagePreview = imageEditElement.querySelector('.img-upload__preview img');\n+var imageEffects = document.querySelector('.img-upload__effects');\n+var effectScale = document.querySelector('.img-upload__scale');","path":"js/pictures.js","position":36,"original_position":36,"commit_id":"fdc1cc5a2b63db8f8d8049cee0462af1ffce960a","original_commit_id":"fdc1cc5a2b63db8f8d8049cee0462af1ffce960a","user":{"login":"vitali-usik","id":15727647,"node_id":"MDQ6VXNlcjE1NzI3NjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/15727647?v=4","gravatar_id":"","url":"https://api.github.com/users/vitali-usik","html_url":"https://github.com/vitali-usik","followers_url":"https://api.github.com/users/vitali-usik/followers","following_url":"https://api.github.com/users/vitali-usik/following{/other_user}","gists_url":"https://api.github.com/users/vitali-usik/gists{/gist_id}","starred_url":"https://api.github.com/users/vitali-usik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitali-usik/subscriptions","organizations_url":"https://api.github.com/users/vitali-usik/orgs","repos_url":"https://api.github.com/users/vitali-usik/repos","events_url":"https://api.github.com/users/vitali-usik/events{/privacy}","received_events_url":"https://api.github.com/users/vitali-usik/received_events","type":"User","site_admin":false},"body":"120-122 добавить постфикс Element","created_at":"2018-06-28T18:46:02Z","updated_at":"2018-06-28T18:48:05Z","html_url":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3#discussion_r198946752","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/comments/198946752"},"html":{"href":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3#discussion_r198946752"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3","id":198118568,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTE4NTY4","html_url":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3","diff_url":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/3","number":3,"state":"open","locked":false,"title":"Личный проект: подробности","user":{"login":"katrinLuna","id":29942902,"node_id":"MDQ6VXNlcjI5OTQyOTAy","avatar_url":"https://avatars2.githubusercontent.com/u/29942902?v=4","gravatar_id":"","url":"https://api.github.com/users/katrinLuna","html_url":"https://github.com/katrinLuna","followers_url":"https://api.github.com/users/katrinLuna/followers","following_url":"https://api.github.com/users/katrinLuna/following{/other_user}","gists_url":"https://api.github.com/users/katrinLuna/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinLuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinLuna/subscriptions","organizations_url":"https://api.github.com/users/katrinLuna/orgs","repos_url":"https://api.github.com/users/katrinLuna/repos","events_url":"https://api.github.com/users/katrinLuna/events{/privacy}","received_events_url":"https://api.github.com/users/katrinLuna/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: подробности](https://up.htmlacademy.ru/javascript/14/user/489027/tasks/15)\n\n:boom: https://htmlacademy-javascript.github.io/489027-kekstagram/3/","created_at":"2018-06-28T18:43:40Z","updated_at":"2018-06-28T18:48:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"aacc568af1ecb99815f34366da5ad5db97b27b91","assignee":{"login":"vitali-usik","id":15727647,"node_id":"MDQ6VXNlcjE1NzI3NjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/15727647?v=4","gravatar_id":"","url":"https://api.github.com/users/vitali-usik","html_url":"https://github.com/vitali-usik","followers_url":"https://api.github.com/users/vitali-usik/followers","following_url":"https://api.github.com/users/vitali-usik/following{/other_user}","gists_url":"https://api.github.com/users/vitali-usik/gists{/gist_id}","starred_url":"https://api.github.com/users/vitali-usik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitali-usik/subscriptions","organizations_url":"https://api.github.com/users/vitali-usik/orgs","repos_url":"https://api.github.com/users/vitali-usik/repos","events_url":"https://api.github.com/users/vitali-usik/events{/privacy}","received_events_url":"https://api.github.com/users/vitali-usik/received_events","type":"User","site_admin":false},"assignees":[{"login":"vitali-usik","id":15727647,"node_id":"MDQ6VXNlcjE1NzI3NjQ3","avatar_url":"https://avatars3.githubusercontent.com/u/15727647?v=4","gravatar_id":"","url":"https://api.github.com/users/vitali-usik","html_url":"https://github.com/vitali-usik","followers_url":"https://api.github.com/users/vitali-usik/followers","following_url":"https://api.github.com/users/vitali-usik/following{/other_user}","gists_url":"https://api.github.com/users/vitali-usik/gists{/gist_id}","starred_url":"https://api.github.com/users/vitali-usik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vitali-usik/subscriptions","organizations_url":"https://api.github.com/users/vitali-usik/orgs","repos_url":"https://api.github.com/users/vitali-usik/repos","events_url":"https://api.github.com/users/vitali-usik/events{/privacy}","received_events_url":"https://api.github.com/users/vitali-usik/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/3/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/statuses/fdc1cc5a2b63db8f8d8049cee0462af1ffce960a","head":{"label":"katrinLuna:module4-task1","ref":"module4-task1","sha":"fdc1cc5a2b63db8f8d8049cee0462af1ffce960a","user":{"login":"katrinLuna","id":29942902,"node_id":"MDQ6VXNlcjI5OTQyOTAy","avatar_url":"https://avatars2.githubusercontent.com/u/29942902?v=4","gravatar_id":"","url":"https://api.github.com/users/katrinLuna","html_url":"https://github.com/katrinLuna","followers_url":"https://api.github.com/users/katrinLuna/followers","following_url":"https://api.github.com/users/katrinLuna/following{/other_user}","gists_url":"https://api.github.com/users/katrinLuna/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinLuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinLuna/subscriptions","organizations_url":"https://api.github.com/users/katrinLuna/orgs","repos_url":"https://api.github.com/users/katrinLuna/repos","events_url":"https://api.github.com/users/katrinLuna/events{/privacy}","received_events_url":"https://api.github.com/users/katrinLuna/received_events","type":"User","site_admin":false},"repo":{"id":135558498,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU1NTg0OTg=","name":"489027-kekstagram","full_name":"katrinLuna/489027-kekstagram","owner":{"login":"katrinLuna","id":29942902,"node_id":"MDQ6VXNlcjI5OTQyOTAy","avatar_url":"https://avatars2.githubusercontent.com/u/29942902?v=4","gravatar_id":"","url":"https://api.github.com/users/katrinLuna","html_url":"https://github.com/katrinLuna","followers_url":"https://api.github.com/users/katrinLuna/followers","following_url":"https://api.github.com/users/katrinLuna/following{/other_user}","gists_url":"https://api.github.com/users/katrinLuna/gists{/gist_id}","starred_url":"https://api.github.com/users/katrinLuna/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/katrinLuna/subscriptions","organizations_url":"https://api.github.com/users/katrinLuna/orgs","repos_url":"https://api.github.com/users/katrinLuna/repos","events_url":"https://api.github.com/users/katrinLuna/events{/privacy}","received_events_url":"https://api.github.com/users/katrinLuna/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/katrinLuna/489027-kekstagram","description":"Ekaterina Nikitina","fork":true,"url":"https://api.github.com/repos/katrinLuna/489027-kekstagram","forks_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/forks","keys_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/teams","hooks_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/events","assignees_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/tags","blobs_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/languages","stargazers_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/subscription","commits_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/merges","archive_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/downloads","issues_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/katrinLuna/489027-kekstagram/deployments","created_at":"2018-05-31T08:56:19Z","updated_at":"2018-06-24T12:47:35Z","pushed_at":"2018-06-28T18:43:18Z","git_url":"git://github.com/katrinLuna/489027-kekstagram.git","ssh_url":"git@github.com:katrinLuna/489027-kekstagram.git","clone_url":"https://github.com/katrinLuna/489027-kekstagram.git","svn_url":"https://github.com/katrinLuna/489027-kekstagram","homepage":null,"size":2194,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"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":"htmlacademy-javascript:master","ref":"master","sha":"f02860bf5fa24602d6cb3c1c726104cb97d056be","user":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","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":135558149,"node_id":"MDEwOlJlcG9zaXRvcnkxMzU1NTgxNDk=","name":"489027-kekstagram","full_name":"htmlacademy-javascript/489027-kekstagram","owner":{"login":"htmlacademy-javascript","id":14179712,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE0MTc5NzEy","avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","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/489027-kekstagram","description":"Ekaterina Nikitina","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/deployments","created_at":"2018-05-31T08:53:25Z","updated_at":"2018-06-24T12:11:48Z","pushed_at":"2018-06-28T18:46:38Z","git_url":"git://github.com/htmlacademy-javascript/489027-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/489027-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/489027-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/489027-kekstagram","homepage":"https://github.com/katrinLuna/489027-kekstagram","size":2200,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3"},"html":{"href":"https://github.com/htmlacademy-javascript/489027-kekstagram/pull/3"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/3"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/489027-kekstagram/statuses/fdc1cc5a2b63db8f8d8049cee0462af1ffce960a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"vitali-usik"}}