{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/comments/181833372","pull_request_review_id":112526665,"id":181833372,"diff_hunk":"@@ -0,0 +1,93 @@\n+(function () {\n+    let handlers = [\n+        { className: 'header__loupe', handler: focusSearch },\n+        { className: 'header__menu', handler: showMenu },\n+        { className: 'navigation__close', handler: closeMenu }\n+    ];\n+\n+    const swipeLimit = 40;\n+\n+    document.addEventListener('DOMContentLoaded', function () {\n+\n+        document.addEventListener('click', function (event) {\n+            let classes = event.target.classList;\n+\n+            /* eslint-disable-next-line max-nested-callbacks */\n+            handlers.forEach(handler => {\n+                if (classes.contains(handler.className)) {\n+                    handler.handler();\n+                }\n+            });\n+        });\n+\n+        document.addEventListener('touchstart', handleTouchStart, false);\n+        document.addEventListener('touchend', handleTouchEnd, false);\n+\n+    });\n+\n+    function focusSearch() {\n+        let input = document.getElementsByClassName('header__input')[0];\n+        console.info(input);\n+        input.classList.add('header__input_visible');","path":"public/js/generic.js","position":null,"original_position":31,"commit_id":"0f72a0d9a495ce82c1e49be00a436c6f49c77015","original_commit_id":"299a30577b22276aaf11a59053a4c8340ade0f2a","user":{"login":"plotnikovn","id":6986814,"avatar_url":"https://avatars3.githubusercontent.com/u/6986814?v=4","gravatar_id":"","url":"https://api.github.com/users/plotnikovn","html_url":"https://github.com/plotnikovn","followers_url":"https://api.github.com/users/plotnikovn/followers","following_url":"https://api.github.com/users/plotnikovn/following{/other_user}","gists_url":"https://api.github.com/users/plotnikovn/gists{/gist_id}","starred_url":"https://api.github.com/users/plotnikovn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotnikovn/subscriptions","organizations_url":"https://api.github.com/users/plotnikovn/orgs","repos_url":"https://api.github.com/users/plotnikovn/repos","events_url":"https://api.github.com/users/plotnikovn/events{/privacy}","received_events_url":"https://api.github.com/users/plotnikovn/received_events","type":"User","site_admin":false},"body":"так, а для чего тут же класс убирать?","created_at":"2018-04-16T18:01:51Z","updated_at":"2018-04-16T18:01:51Z","html_url":"https://github.com/urfu-2017/webdev-task-4/pull/31#discussion_r181833372","pull_request_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/comments/181833372"},"html":{"href":"https://github.com/urfu-2017/webdev-task-4/pull/31#discussion_r181833372"},"pull_request":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31"}},"in_reply_to_id":181693698},"pull_request":{"url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31","id":178317798,"html_url":"https://github.com/urfu-2017/webdev-task-4/pull/31","diff_url":"https://github.com/urfu-2017/webdev-task-4/pull/31.diff","patch_url":"https://github.com/urfu-2017/webdev-task-4/pull/31.patch","issue_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/31","number":31,"state":"open","locked":false,"title":"Сайпиев Анвар","user":{"login":"whoe","id":9081678,"avatar_url":"https://avatars3.githubusercontent.com/u/9081678?v=4","gravatar_id":"","url":"https://api.github.com/users/whoe","html_url":"https://github.com/whoe","followers_url":"https://api.github.com/users/whoe/followers","following_url":"https://api.github.com/users/whoe/following{/other_user}","gists_url":"https://api.github.com/users/whoe/gists{/gist_id}","starred_url":"https://api.github.com/users/whoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoe/subscriptions","organizations_url":"https://api.github.com/users/whoe/orgs","repos_url":"https://api.github.com/users/whoe/repos","events_url":"https://api.github.com/users/whoe/events{/privacy}","received_events_url":"https://api.github.com/users/whoe/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-03-29T12:46:01Z","updated_at":"2018-04-16T18:01:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0f17952ac03e01f95708c7c05017bc4fbe253fd8","assignee":{"login":"plotnikovn","id":6986814,"avatar_url":"https://avatars3.githubusercontent.com/u/6986814?v=4","gravatar_id":"","url":"https://api.github.com/users/plotnikovn","html_url":"https://github.com/plotnikovn","followers_url":"https://api.github.com/users/plotnikovn/followers","following_url":"https://api.github.com/users/plotnikovn/following{/other_user}","gists_url":"https://api.github.com/users/plotnikovn/gists{/gist_id}","starred_url":"https://api.github.com/users/plotnikovn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotnikovn/subscriptions","organizations_url":"https://api.github.com/users/plotnikovn/orgs","repos_url":"https://api.github.com/users/plotnikovn/repos","events_url":"https://api.github.com/users/plotnikovn/events{/privacy}","received_events_url":"https://api.github.com/users/plotnikovn/received_events","type":"User","site_admin":false},"assignees":[{"login":"plotnikovn","id":6986814,"avatar_url":"https://avatars3.githubusercontent.com/u/6986814?v=4","gravatar_id":"","url":"https://api.github.com/users/plotnikovn","html_url":"https://github.com/plotnikovn","followers_url":"https://api.github.com/users/plotnikovn/followers","following_url":"https://api.github.com/users/plotnikovn/following{/other_user}","gists_url":"https://api.github.com/users/plotnikovn/gists{/gist_id}","starred_url":"https://api.github.com/users/plotnikovn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/plotnikovn/subscriptions","organizations_url":"https://api.github.com/users/plotnikovn/orgs","repos_url":"https://api.github.com/users/plotnikovn/repos","events_url":"https://api.github.com/users/plotnikovn/events{/privacy}","received_events_url":"https://api.github.com/users/plotnikovn/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31/commits","review_comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31/comments","review_comment_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/31/comments","statuses_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/statuses/0f72a0d9a495ce82c1e49be00a436c6f49c77015","head":{"label":"whoe:master","ref":"master","sha":"0f72a0d9a495ce82c1e49be00a436c6f49c77015","user":{"login":"whoe","id":9081678,"avatar_url":"https://avatars3.githubusercontent.com/u/9081678?v=4","gravatar_id":"","url":"https://api.github.com/users/whoe","html_url":"https://github.com/whoe","followers_url":"https://api.github.com/users/whoe/followers","following_url":"https://api.github.com/users/whoe/following{/other_user}","gists_url":"https://api.github.com/users/whoe/gists{/gist_id}","starred_url":"https://api.github.com/users/whoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoe/subscriptions","organizations_url":"https://api.github.com/users/whoe/orgs","repos_url":"https://api.github.com/users/whoe/repos","events_url":"https://api.github.com/users/whoe/events{/privacy}","received_events_url":"https://api.github.com/users/whoe/received_events","type":"User","site_admin":false},"repo":{"id":127279053,"name":"webdev-task-4","full_name":"whoe/webdev-task-4","owner":{"login":"whoe","id":9081678,"avatar_url":"https://avatars3.githubusercontent.com/u/9081678?v=4","gravatar_id":"","url":"https://api.github.com/users/whoe","html_url":"https://github.com/whoe","followers_url":"https://api.github.com/users/whoe/followers","following_url":"https://api.github.com/users/whoe/following{/other_user}","gists_url":"https://api.github.com/users/whoe/gists{/gist_id}","starred_url":"https://api.github.com/users/whoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whoe/subscriptions","organizations_url":"https://api.github.com/users/whoe/orgs","repos_url":"https://api.github.com/users/whoe/repos","events_url":"https://api.github.com/users/whoe/events{/privacy}","received_events_url":"https://api.github.com/users/whoe/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/whoe/webdev-task-4","description":"Задача «Тим слишком занят»","fork":true,"url":"https://api.github.com/repos/whoe/webdev-task-4","forks_url":"https://api.github.com/repos/whoe/webdev-task-4/forks","keys_url":"https://api.github.com/repos/whoe/webdev-task-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/whoe/webdev-task-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/whoe/webdev-task-4/teams","hooks_url":"https://api.github.com/repos/whoe/webdev-task-4/hooks","issue_events_url":"https://api.github.com/repos/whoe/webdev-task-4/issues/events{/number}","events_url":"https://api.github.com/repos/whoe/webdev-task-4/events","assignees_url":"https://api.github.com/repos/whoe/webdev-task-4/assignees{/user}","branches_url":"https://api.github.com/repos/whoe/webdev-task-4/branches{/branch}","tags_url":"https://api.github.com/repos/whoe/webdev-task-4/tags","blobs_url":"https://api.github.com/repos/whoe/webdev-task-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/whoe/webdev-task-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/whoe/webdev-task-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/whoe/webdev-task-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/whoe/webdev-task-4/statuses/{sha}","languages_url":"https://api.github.com/repos/whoe/webdev-task-4/languages","stargazers_url":"https://api.github.com/repos/whoe/webdev-task-4/stargazers","contributors_url":"https://api.github.com/repos/whoe/webdev-task-4/contributors","subscribers_url":"https://api.github.com/repos/whoe/webdev-task-4/subscribers","subscription_url":"https://api.github.com/repos/whoe/webdev-task-4/subscription","commits_url":"https://api.github.com/repos/whoe/webdev-task-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/whoe/webdev-task-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/whoe/webdev-task-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/whoe/webdev-task-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/whoe/webdev-task-4/contents/{+path}","compare_url":"https://api.github.com/repos/whoe/webdev-task-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/whoe/webdev-task-4/merges","archive_url":"https://api.github.com/repos/whoe/webdev-task-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/whoe/webdev-task-4/downloads","issues_url":"https://api.github.com/repos/whoe/webdev-task-4/issues{/number}","pulls_url":"https://api.github.com/repos/whoe/webdev-task-4/pulls{/number}","milestones_url":"https://api.github.com/repos/whoe/webdev-task-4/milestones{/number}","notifications_url":"https://api.github.com/repos/whoe/webdev-task-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/whoe/webdev-task-4/labels{/name}","releases_url":"https://api.github.com/repos/whoe/webdev-task-4/releases{/id}","deployments_url":"https://api.github.com/repos/whoe/webdev-task-4/deployments","created_at":"2018-03-29T10:58:20Z","updated_at":"2018-04-16T15:01:20Z","pushed_at":"2018-04-16T15:01:18Z","git_url":"git://github.com/whoe/webdev-task-4.git","ssh_url":"git@github.com:whoe/webdev-task-4.git","clone_url":"https://github.com/whoe/webdev-task-4.git","svn_url":"https://github.com/whoe/webdev-task-4","homepage":null,"size":544,"stargazers_count":0,"watchers_count":0,"language":"CSS","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-2017:master","ref":"master","sha":"e5eccb43da61358a3a55beeafc8136cfb50af294","user":{"login":"urfu-2017","id":31925391,"avatar_url":"https://avatars1.githubusercontent.com/u/31925391?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2017","html_url":"https://github.com/urfu-2017","followers_url":"https://api.github.com/users/urfu-2017/followers","following_url":"https://api.github.com/users/urfu-2017/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2017/subscriptions","organizations_url":"https://api.github.com/users/urfu-2017/orgs","repos_url":"https://api.github.com/users/urfu-2017/repos","events_url":"https://api.github.com/users/urfu-2017/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2017/received_events","type":"Organization","site_admin":false},"repo":{"id":126361434,"name":"webdev-task-4","full_name":"urfu-2017/webdev-task-4","owner":{"login":"urfu-2017","id":31925391,"avatar_url":"https://avatars1.githubusercontent.com/u/31925391?v=4","gravatar_id":"","url":"https://api.github.com/users/urfu-2017","html_url":"https://github.com/urfu-2017","followers_url":"https://api.github.com/users/urfu-2017/followers","following_url":"https://api.github.com/users/urfu-2017/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2017/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2017/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2017/subscriptions","organizations_url":"https://api.github.com/users/urfu-2017/orgs","repos_url":"https://api.github.com/users/urfu-2017/repos","events_url":"https://api.github.com/users/urfu-2017/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2017/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2017/webdev-task-4","description":"Задача «Тим слишком занят»","fork":false,"url":"https://api.github.com/repos/urfu-2017/webdev-task-4","forks_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/forks","keys_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/teams","hooks_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/hooks","issue_events_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/events","assignees_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/tags","blobs_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/languages","stargazers_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/stargazers","contributors_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/contributors","subscribers_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/subscribers","subscription_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/subscription","commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/merges","archive_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/downloads","issues_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2017/webdev-task-4/deployments","created_at":"2018-03-22T16:07:36Z","updated_at":"2018-03-30T18:15:58Z","pushed_at":"2018-04-16T15:01:19Z","git_url":"git://github.com/urfu-2017/webdev-task-4.git","ssh_url":"git@github.com:urfu-2017/webdev-task-4.git","clone_url":"https://github.com/urfu-2017/webdev-task-4.git","svn_url":"https://github.com/urfu-2017/webdev-task-4","homepage":null,"size":49,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":41,"mirror_url":null,"archived":false,"open_issues_count":15,"license":null,"forks":41,"open_issues":15,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31"},"html":{"href":"https://github.com/urfu-2017/webdev-task-4/pull/31"},"issue":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/31"},"comments":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2017/webdev-task-4/statuses/0f72a0d9a495ce82c1e49be00a436c6f49c77015"}},"author_association":"NONE"}}
{"actor":{"display_login":"plotnikovn"}}