{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/comments/243910547","pull_request_review_id":187786858,"id":243910547,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDI0MzkxMDU0Nw==","diff_hunk":"@@ -251,9 +260,87 @@\n \n     uploadFileElement.value = null;\n \n-    document.removeEventListener('keydown', onPopupEscPress);\n+    document.removeEventListener('keydown', function (evt) {\n+      onPopupEscPress(evt);\n+    });\n+  };\n+\n+  var getSeparateTags = function (string) {\n+    var tags = string\n+      .trim()\n+      .toLowerCase()\n+      .replace(/,/g, '')\n+      .split(' ');\n+\n+    return tags.filter(function (tag) {\n+      return tag !== '';\n+    });\n+  };\n+\n+  var checkTagsFirstCharacter = function (tags) {\n+    var isMatch;\n+\n+    for (var i = 0; i < tags.length; i++) {\n+      if (tags[i].charAt() !== '#') {\n+        isMatch = true;\n+        break;\n+      } else {\n+        isMatch = false;\n+      }\n+    }\n+\n+    return isMatch;\n+  };\n+\n+  var getTagLength = function (tags) {\n+    var isLong = false;\n+\n+    for (var i = 0; i < tags.length; i++) {\n+      if (tags[i].length > hashTagsValues.maxLength) {\n+        isLong = true;\n+      }\n+    }\n+\n+    return isLong;\n+  };\n+\n+  var isDuplicate = function (tags) {\n+    return tags.some(function (item, index) {\n+      return tags.indexOf(item) !== index;\n+    });\n   };\n \n+  var onTextHashtagsElementInput = function (field) {\n+    var fieldValue = field.value;\n+    var errorMessages = [];\n+\n+    var hashtags = getSeparateTags(fieldValue);\n+\n+    if (hashtags.length > 5) {\n+      errorMessages.push('Количество хэштегов не должно превышать ' + hashTagsValues.count);\n+    } else if (checkTagsFirstCharacter(hashtags)) {\n+      errorMessages.push('Каждый хэштег должен начинается с символа # (решётка)');\n+    } else if (getTagLength(hashtags)) {\n+      errorMessages.push('Длина хэштега не должна превышать ' + hashTagsValues.maxLength + ' символов');\n+    } else if (isDuplicate(hashtags)) {\n+      errorMessages.push('Хэштеги не должны повторяться');\n+    }\n+\n+    field.setCustomValidity(errorMessages);\n+  };\n+\n+  var onFocusinImgUploadTextElement = function () {\n+    document.removeEventListener('keydown', function (evt) {\n+      onPopupEscPress(evt);\n+    });\n+  };\n+\n+  imgUploadTextElement.addEventListener('focusin', onFocusinImgUploadTextElement);\n+\n+  textHashtagsElement.addEventListener('input', function (evt) {\n+    onTextHashtagsElementInput(evt.target);\n+  });","path":"js/main.js","position":109,"original_position":109,"commit_id":"b1a991d51ac852090cef5f9ac4d183076605b99d","original_commit_id":"b1a991d51ac852090cef5f9ac4d183076605b99d","user":{"login":"AlexMasterov","id":700213,"node_id":"MDQ6VXNlcjcwMDIxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/700213?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexMasterov","html_url":"https://github.com/AlexMasterov","followers_url":"https://api.github.com/users/AlexMasterov/followers","following_url":"https://api.github.com/users/AlexMasterov/following{/other_user}","gists_url":"https://api.github.com/users/AlexMasterov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexMasterov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexMasterov/subscriptions","organizations_url":"https://api.github.com/users/AlexMasterov/orgs","repos_url":"https://api.github.com/users/AlexMasterov/repos","events_url":"https://api.github.com/users/AlexMasterov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexMasterov/received_events","type":"User","site_admin":false},"body":"Задание:\r\n>Если хотя бы один из тегов не проходит нужных проверок, можно воспользоваться методом `setCustomValidity` для того, чтобы задать полю правильное сообщение об ошибке.\r\n\r\nДобавлю комментарии, когда буду дома 😃\r\n```js\r\nvar hasLeadingSymbol = function (tag) {\r\n  return tag.lastIndexOf('#') === 0;\r\n};\r\n\r\nvar validateTags = function (tags) {\r\n  if (tags.length > TagsValue.COUNT) {\r\n    return 'Количество хэштегов не должно превышать ' + TagsValue.COUNT;\r\n  }\r\n\r\n  for (var tag, i = 0; i < tags.length; i++) {\r\n    tag = tags[i];\r\n\r\n    if (!hasLeadingSymbol(tag)) {\r\n      return 'Каждый хэштег должен начинается с символа # (решётка)';\r\n    }\r\n    if (tag.length > TagsValue.MAX_LENGTH) {\r\n      return 'Длина хэштега не должна превышать ' + TagsValue.MAX_LENGTH + ' символов';\r\n    }\r\n    if (tags.indexOf(tag, i + 1) > 0) {\r\n      return 'Хэштеги не должны повторяться';\r\n    }\r\n  }\r\n\r\n  return '';\r\n};\r\n\r\nvar handleTagsInput = function (evt) {\r\n  var tags = getSeparateTags(evt.target.value);\r\n\r\n  var errorMessage = validateTags(tags);\r\n  if (errorMessage.length > 0) {\r\n    evt.target.setCustomValidity(errorMessages);\r\n  }\r\n};\r\n\r\ntextHashtagsElement.addEventListener('input', handleTagsInput);\r\n```","created_at":"2018-12-25T13:51:42Z","updated_at":"2018-12-25T13:54:07Z","html_url":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7#discussion_r243910547","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/comments/243910547"},"html":{"href":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7#discussion_r243910547"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7","id":240545441,"node_id":"MDExOlB1bGxSZXF1ZXN0MjQwNTQ1NDQx","html_url":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7","diff_url":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7.diff","patch_url":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/7","number":7,"state":"open","locked":false,"title":"Личный проект: доверяй, но проверяй","user":{"login":"OBats","id":21120000,"node_id":"MDQ6VXNlcjIxMTIwMDAw","avatar_url":"https://avatars3.githubusercontent.com/u/21120000?v=4","gravatar_id":"","url":"https://api.github.com/users/OBats","html_url":"https://github.com/OBats","followers_url":"https://api.github.com/users/OBats/followers","following_url":"https://api.github.com/users/OBats/following{/other_user}","gists_url":"https://api.github.com/users/OBats/gists{/gist_id}","starred_url":"https://api.github.com/users/OBats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OBats/subscriptions","organizations_url":"https://api.github.com/users/OBats/orgs","repos_url":"https://api.github.com/users/OBats/repos","events_url":"https://api.github.com/users/OBats/events{/privacy}","received_events_url":"https://api.github.com/users/OBats/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: доверяй, но проверяй](https://up.htmlacademy.ru/javascript/16/user/366801/tasks/17)\n\n:boom: https://htmlacademy-javascript.github.io/366801-kekstagram/7/","created_at":"2018-12-21T18:22:52Z","updated_at":"2018-12-25T13:54:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"68f49d2c49bf885d011d3284663a898b6a45267c","assignee":{"login":"AlexMasterov","id":700213,"node_id":"MDQ6VXNlcjcwMDIxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/700213?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexMasterov","html_url":"https://github.com/AlexMasterov","followers_url":"https://api.github.com/users/AlexMasterov/followers","following_url":"https://api.github.com/users/AlexMasterov/following{/other_user}","gists_url":"https://api.github.com/users/AlexMasterov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexMasterov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexMasterov/subscriptions","organizations_url":"https://api.github.com/users/AlexMasterov/orgs","repos_url":"https://api.github.com/users/AlexMasterov/repos","events_url":"https://api.github.com/users/AlexMasterov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexMasterov/received_events","type":"User","site_admin":false},"assignees":[{"login":"AlexMasterov","id":700213,"node_id":"MDQ6VXNlcjcwMDIxMw==","avatar_url":"https://avatars2.githubusercontent.com/u/700213?v=4","gravatar_id":"","url":"https://api.github.com/users/AlexMasterov","html_url":"https://github.com/AlexMasterov","followers_url":"https://api.github.com/users/AlexMasterov/followers","following_url":"https://api.github.com/users/AlexMasterov/following{/other_user}","gists_url":"https://api.github.com/users/AlexMasterov/gists{/gist_id}","starred_url":"https://api.github.com/users/AlexMasterov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlexMasterov/subscriptions","organizations_url":"https://api.github.com/users/AlexMasterov/orgs","repos_url":"https://api.github.com/users/AlexMasterov/repos","events_url":"https://api.github.com/users/AlexMasterov/events{/privacy}","received_events_url":"https://api.github.com/users/AlexMasterov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/7/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/statuses/b1a991d51ac852090cef5f9ac4d183076605b99d","head":{"label":"OBats:module4-task2","ref":"module4-task2","sha":"b1a991d51ac852090cef5f9ac4d183076605b99d","user":{"login":"OBats","id":21120000,"node_id":"MDQ6VXNlcjIxMTIwMDAw","avatar_url":"https://avatars3.githubusercontent.com/u/21120000?v=4","gravatar_id":"","url":"https://api.github.com/users/OBats","html_url":"https://github.com/OBats","followers_url":"https://api.github.com/users/OBats/followers","following_url":"https://api.github.com/users/OBats/following{/other_user}","gists_url":"https://api.github.com/users/OBats/gists{/gist_id}","starred_url":"https://api.github.com/users/OBats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OBats/subscriptions","organizations_url":"https://api.github.com/users/OBats/orgs","repos_url":"https://api.github.com/users/OBats/repos","events_url":"https://api.github.com/users/OBats/events{/privacy}","received_events_url":"https://api.github.com/users/OBats/received_events","type":"User","site_admin":false},"repo":{"id":157541045,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1NDEwNDU=","name":"366801-kekstagram","full_name":"OBats/366801-kekstagram","private":false,"owner":{"login":"OBats","id":21120000,"node_id":"MDQ6VXNlcjIxMTIwMDAw","avatar_url":"https://avatars3.githubusercontent.com/u/21120000?v=4","gravatar_id":"","url":"https://api.github.com/users/OBats","html_url":"https://github.com/OBats","followers_url":"https://api.github.com/users/OBats/followers","following_url":"https://api.github.com/users/OBats/following{/other_user}","gists_url":"https://api.github.com/users/OBats/gists{/gist_id}","starred_url":"https://api.github.com/users/OBats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/OBats/subscriptions","organizations_url":"https://api.github.com/users/OBats/orgs","repos_url":"https://api.github.com/users/OBats/repos","events_url":"https://api.github.com/users/OBats/events{/privacy}","received_events_url":"https://api.github.com/users/OBats/received_events","type":"User","site_admin":false},"html_url":"https://github.com/OBats/366801-kekstagram","description":"Orest Bats","fork":true,"url":"https://api.github.com/repos/OBats/366801-kekstagram","forks_url":"https://api.github.com/repos/OBats/366801-kekstagram/forks","keys_url":"https://api.github.com/repos/OBats/366801-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/OBats/366801-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/OBats/366801-kekstagram/teams","hooks_url":"https://api.github.com/repos/OBats/366801-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/OBats/366801-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/OBats/366801-kekstagram/events","assignees_url":"https://api.github.com/repos/OBats/366801-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/OBats/366801-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/OBats/366801-kekstagram/tags","blobs_url":"https://api.github.com/repos/OBats/366801-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/OBats/366801-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/OBats/366801-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/OBats/366801-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/OBats/366801-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/OBats/366801-kekstagram/languages","stargazers_url":"https://api.github.com/repos/OBats/366801-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/OBats/366801-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/OBats/366801-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/OBats/366801-kekstagram/subscription","commits_url":"https://api.github.com/repos/OBats/366801-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/OBats/366801-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/OBats/366801-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/OBats/366801-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/OBats/366801-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/OBats/366801-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/OBats/366801-kekstagram/merges","archive_url":"https://api.github.com/repos/OBats/366801-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/OBats/366801-kekstagram/downloads","issues_url":"https://api.github.com/repos/OBats/366801-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/OBats/366801-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/OBats/366801-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/OBats/366801-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/OBats/366801-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/OBats/366801-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/OBats/366801-kekstagram/deployments","created_at":"2018-11-14T11:48:09Z","updated_at":"2018-12-21T10:03:57Z","pushed_at":"2018-12-24T12:16:34Z","git_url":"git://github.com/OBats/366801-kekstagram.git","ssh_url":"git@github.com:OBats/366801-kekstagram.git","clone_url":"https://github.com/OBats/366801-kekstagram.git","svn_url":"https://github.com/OBats/366801-kekstagram","homepage":null,"size":2206,"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":"9c737336001b6491339d01d5ce628ae2a53ef0e5","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":157540981,"node_id":"MDEwOlJlcG9zaXRvcnkxNTc1NDA5ODE=","name":"366801-kekstagram","full_name":"htmlacademy-javascript/366801-kekstagram","private":false,"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},"html_url":"https://github.com/htmlacademy-javascript/366801-kekstagram","description":"Orest Bats","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/deployments","created_at":"2018-11-14T11:47:29Z","updated_at":"2018-12-20T17:21:54Z","pushed_at":"2018-12-24T12:16:45Z","git_url":"git://github.com/htmlacademy-javascript/366801-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/366801-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/366801-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/366801-kekstagram","homepage":"https://github.com/OBats/366801-kekstagram","size":2220,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":false,"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/366801-kekstagram/pulls/7"},"html":{"href":"https://github.com/htmlacademy-javascript/366801-kekstagram/pull/7"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/7"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/366801-kekstagram/statuses/b1a991d51ac852090cef5f9ac4d183076605b99d"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"AlexMasterov"}}