{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/comments/196320425","pull_request_review_id":129847644,"id":196320425,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5NjMyMDQyNQ==","diff_hunk":"@@ -281,3 +283,45 @@ commentInput.addEventListener('invalid', function () {\n   }\n });\n \n+// Валидация хэштегов\n+var validateHashtags = function () {\n+  var hashtagsArr = hashtagInput.value.split(' ');\n+  for (i = 0; i < hashtagsArr.length; i++) {\n+    if (hashtagsArr[i].charAt(0) !== '#' && hashtagsArr[i].length === 1) {","path":"js/pictures.js","position":21,"original_position":21,"commit_id":"7667f515c31954b9e8dbb4a55d64068f4ae592ea","original_commit_id":"7667f515c31954b9e8dbb4a55d64068f4ae592ea","user":{"login":"Sigiller","id":8455563,"node_id":"MDQ6VXNlcjg0NTU1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/8455563?v=4","gravatar_id":"","url":"https://api.github.com/users/Sigiller","html_url":"https://github.com/Sigiller","followers_url":"https://api.github.com/users/Sigiller/followers","following_url":"https://api.github.com/users/Sigiller/following{/other_user}","gists_url":"https://api.github.com/users/Sigiller/gists{/gist_id}","starred_url":"https://api.github.com/users/Sigiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sigiller/subscriptions","organizations_url":"https://api.github.com/users/Sigiller/orgs","repos_url":"https://api.github.com/users/Sigiller/repos","events_url":"https://api.github.com/users/Sigiller/events{/privacy}","received_events_url":"https://api.github.com/users/Sigiller/received_events","type":"User","site_admin":false},"body":"Откуда тут второе условие взялось?","created_at":"2018-06-19T07:34:52Z","updated_at":"2018-06-19T07:47:25Z","html_url":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4#discussion_r196320425","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/comments/196320425"},"html":{"href":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4#discussion_r196320425"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4","id":195340637,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk1MzQwNjM3","html_url":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4","diff_url":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4.diff","patch_url":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/4","number":4,"state":"open","locked":false,"title":"Личный проект: доверяй, но проверяй","user":{"login":"alex-y-kuznetsov","id":18405397,"node_id":"MDQ6VXNlcjE4NDA1Mzk3","avatar_url":"https://avatars1.githubusercontent.com/u/18405397?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-y-kuznetsov","html_url":"https://github.com/alex-y-kuznetsov","followers_url":"https://api.github.com/users/alex-y-kuznetsov/followers","following_url":"https://api.github.com/users/alex-y-kuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/alex-y-kuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-y-kuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-y-kuznetsov/subscriptions","organizations_url":"https://api.github.com/users/alex-y-kuznetsov/orgs","repos_url":"https://api.github.com/users/alex-y-kuznetsov/repos","events_url":"https://api.github.com/users/alex-y-kuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-y-kuznetsov/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: доверяй, но проверяй](https://up.htmlacademy.ru/javascript/14/user/196191/tasks/16)\n\n:boom: https://htmlacademy-javascript.github.io/196191-kekstagram/4/","created_at":"2018-06-16T17:10:55Z","updated_at":"2018-06-19T07:47:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9c39d5045c402963bacf36e1a277365ef29be573","assignee":{"login":"Sigiller","id":8455563,"node_id":"MDQ6VXNlcjg0NTU1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/8455563?v=4","gravatar_id":"","url":"https://api.github.com/users/Sigiller","html_url":"https://github.com/Sigiller","followers_url":"https://api.github.com/users/Sigiller/followers","following_url":"https://api.github.com/users/Sigiller/following{/other_user}","gists_url":"https://api.github.com/users/Sigiller/gists{/gist_id}","starred_url":"https://api.github.com/users/Sigiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sigiller/subscriptions","organizations_url":"https://api.github.com/users/Sigiller/orgs","repos_url":"https://api.github.com/users/Sigiller/repos","events_url":"https://api.github.com/users/Sigiller/events{/privacy}","received_events_url":"https://api.github.com/users/Sigiller/received_events","type":"User","site_admin":false},"assignees":[{"login":"Sigiller","id":8455563,"node_id":"MDQ6VXNlcjg0NTU1NjM=","avatar_url":"https://avatars1.githubusercontent.com/u/8455563?v=4","gravatar_id":"","url":"https://api.github.com/users/Sigiller","html_url":"https://github.com/Sigiller","followers_url":"https://api.github.com/users/Sigiller/followers","following_url":"https://api.github.com/users/Sigiller/following{/other_user}","gists_url":"https://api.github.com/users/Sigiller/gists{/gist_id}","starred_url":"https://api.github.com/users/Sigiller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sigiller/subscriptions","organizations_url":"https://api.github.com/users/Sigiller/orgs","repos_url":"https://api.github.com/users/Sigiller/repos","events_url":"https://api.github.com/users/Sigiller/events{/privacy}","received_events_url":"https://api.github.com/users/Sigiller/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/statuses/7667f515c31954b9e8dbb4a55d64068f4ae592ea","head":{"label":"alex-y-kuznetsov:module4-task2","ref":"module4-task2","sha":"7667f515c31954b9e8dbb4a55d64068f4ae592ea","user":{"login":"alex-y-kuznetsov","id":18405397,"node_id":"MDQ6VXNlcjE4NDA1Mzk3","avatar_url":"https://avatars1.githubusercontent.com/u/18405397?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-y-kuznetsov","html_url":"https://github.com/alex-y-kuznetsov","followers_url":"https://api.github.com/users/alex-y-kuznetsov/followers","following_url":"https://api.github.com/users/alex-y-kuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/alex-y-kuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-y-kuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-y-kuznetsov/subscriptions","organizations_url":"https://api.github.com/users/alex-y-kuznetsov/orgs","repos_url":"https://api.github.com/users/alex-y-kuznetsov/repos","events_url":"https://api.github.com/users/alex-y-kuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-y-kuznetsov/received_events","type":"User","site_admin":false},"repo":{"id":135340714,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzNDA3MTQ=","name":"196191-kekstagram","full_name":"alex-y-kuznetsov/196191-kekstagram","owner":{"login":"alex-y-kuznetsov","id":18405397,"node_id":"MDQ6VXNlcjE4NDA1Mzk3","avatar_url":"https://avatars1.githubusercontent.com/u/18405397?v=4","gravatar_id":"","url":"https://api.github.com/users/alex-y-kuznetsov","html_url":"https://github.com/alex-y-kuznetsov","followers_url":"https://api.github.com/users/alex-y-kuznetsov/followers","following_url":"https://api.github.com/users/alex-y-kuznetsov/following{/other_user}","gists_url":"https://api.github.com/users/alex-y-kuznetsov/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-y-kuznetsov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-y-kuznetsov/subscriptions","organizations_url":"https://api.github.com/users/alex-y-kuznetsov/orgs","repos_url":"https://api.github.com/users/alex-y-kuznetsov/repos","events_url":"https://api.github.com/users/alex-y-kuznetsov/events{/privacy}","received_events_url":"https://api.github.com/users/alex-y-kuznetsov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex-y-kuznetsov/196191-kekstagram","description":"Александр Кузнецов","fork":true,"url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram","forks_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/forks","keys_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/teams","hooks_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/events","assignees_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/tags","blobs_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/languages","stargazers_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/subscription","commits_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/merges","archive_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/downloads","issues_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/alex-y-kuznetsov/196191-kekstagram/deployments","created_at":"2018-05-29T19:01:36Z","updated_at":"2018-06-16T11:36:49Z","pushed_at":"2018-06-18T14:54:48Z","git_url":"git://github.com/alex-y-kuznetsov/196191-kekstagram.git","ssh_url":"git@github.com:alex-y-kuznetsov/196191-kekstagram.git","clone_url":"https://github.com/alex-y-kuznetsov/196191-kekstagram.git","svn_url":"https://github.com/alex-y-kuznetsov/196191-kekstagram","homepage":null,"size":2211,"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":"bcd5c70573146927fa44046a47b879f62e6f1fda","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":135340302,"node_id":"MDEwOlJlcG9zaXRvcnkxMzUzNDAzMDI=","name":"196191-kekstagram","full_name":"htmlacademy-javascript/196191-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/196191-kekstagram","description":"Александр Кузнецов","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/deployments","created_at":"2018-05-29T18:57:46Z","updated_at":"2018-06-16T11:24:34Z","pushed_at":"2018-06-19T07:29:43Z","git_url":"git://github.com/htmlacademy-javascript/196191-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/196191-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/196191-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/196191-kekstagram","homepage":"https://github.com/alex-y-kuznetsov/196191-kekstagram","size":2230,"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/196191-kekstagram/pulls/4"},"html":{"href":"https://github.com/htmlacademy-javascript/196191-kekstagram/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/196191-kekstagram/statuses/7667f515c31954b9e8dbb4a55d64068f4ae592ea"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"Sigiller"}}