{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/comments/100691708","pull_request_review_id":21406952,"id":100691708,"diff_hunk":"@@ -0,0 +1,35 @@\n+'use strict';\n+\n+window.initializeFilters = function (img, controls, filters) {\n+\n+  controls.addEventListener('keydown', function (e) {\n+    if (window.pressEnterOrSpace(e)) {\n+      var inputControl = e.target.previousElementSibling;\n+      applyFilter(inputControl);\n+      inputControl.checked = true;\n+    }\n+  });\n+\n+  controls.addEventListener('click', changeClickFilter);\n+\n+  function getFilterName(filterRadio) {\n+    return 'filter-' + filterRadio.value;\n+  }\n+\n+  function applyFilter(filter) {","path":"js/initialize-filters.js","position":19,"original_position":19,"commit_id":"ec9f47a26fa2d75f4ea8d5cfb571192390fb13d3","original_commit_id":"ec9f47a26fa2d75f4ea8d5cfb571192390fb13d3","user":{"login":"isqua","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isqua","html_url":"https://github.com/isqua","followers_url":"https://api.github.com/users/isqua/followers","following_url":"https://api.github.com/users/isqua/following{/other_user}","gists_url":"https://api.github.com/users/isqua/gists{/gist_id}","starred_url":"https://api.github.com/users/isqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isqua/subscriptions","organizations_url":"https://api.github.com/users/isqua/orgs","repos_url":"https://api.github.com/users/isqua/repos","events_url":"https://api.github.com/users/isqua/events{/privacy}","received_events_url":"https://api.github.com/users/isqua/received_events","type":"User","site_admin":false},"body":"Вот тут не понятно что приходит аргументом.  Лейбл? Радио? Имя фильтра?","created_at":"2017-02-12T13:14:55Z","updated_at":"2017-02-12T13:24:56Z","html_url":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4#discussion_r100691708","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/comments/100691708"},"html":{"href":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4#discussion_r100691708"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4","id":105683867,"html_url":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4","diff_url":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4.diff","patch_url":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/4","number":4,"state":"open","locked":false,"title":"Личный проект: Уже сделегировался? Ну теперь модулируй!","user":{"login":"alex-koshara","id":16765673,"avatar_url":"https://avatars.githubusercontent.com/u/16765673?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-koshara","html_url":"https://github.com/alex-koshara","followers_url":"https://api.github.com/users/alex-koshara/followers","following_url":"https://api.github.com/users/alex-koshara/following{/other_user}","gists_url":"https://api.github.com/users/alex-koshara/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-koshara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-koshara/subscriptions","organizations_url":"https://api.github.com/users/alex-koshara/orgs","repos_url":"https://api.github.com/users/alex-koshara/repos","events_url":"https://api.github.com/users/alex-koshara/events{/privacy}","received_events_url":"https://api.github.com/users/alex-koshara/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: Уже сделегировался? Ну теперь модулируй!](https://up.htmlacademy.ru/javascript/8/user/169035/tasks/16)\n\n:boom: https://htmlacademy-javascript.github.io/169035-kekstagram/4/","created_at":"2017-02-10T18:49:59Z","updated_at":"2017-02-12T13:24:56Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8aae838e2fcf1cef1590ef56ba66ac442d618ffc","assignee":{"login":"isqua","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isqua","html_url":"https://github.com/isqua","followers_url":"https://api.github.com/users/isqua/followers","following_url":"https://api.github.com/users/isqua/following{/other_user}","gists_url":"https://api.github.com/users/isqua/gists{/gist_id}","starred_url":"https://api.github.com/users/isqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isqua/subscriptions","organizations_url":"https://api.github.com/users/isqua/orgs","repos_url":"https://api.github.com/users/isqua/repos","events_url":"https://api.github.com/users/isqua/events{/privacy}","received_events_url":"https://api.github.com/users/isqua/received_events","type":"User","site_admin":false},"assignees":[{"login":"isqua","id":529247,"avatar_url":"https://avatars.githubusercontent.com/u/529247?v=3","gravatar_id":"","url":"https://api.github.com/users/isqua","html_url":"https://github.com/isqua","followers_url":"https://api.github.com/users/isqua/followers","following_url":"https://api.github.com/users/isqua/following{/other_user}","gists_url":"https://api.github.com/users/isqua/gists{/gist_id}","starred_url":"https://api.github.com/users/isqua/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/isqua/subscriptions","organizations_url":"https://api.github.com/users/isqua/orgs","repos_url":"https://api.github.com/users/isqua/repos","events_url":"https://api.github.com/users/isqua/events{/privacy}","received_events_url":"https://api.github.com/users/isqua/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/statuses/ec9f47a26fa2d75f4ea8d5cfb571192390fb13d3","head":{"label":"alex-koshara:module5-task1","ref":"module5-task1","sha":"ec9f47a26fa2d75f4ea8d5cfb571192390fb13d3","user":{"login":"alex-koshara","id":16765673,"avatar_url":"https://avatars.githubusercontent.com/u/16765673?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-koshara","html_url":"https://github.com/alex-koshara","followers_url":"https://api.github.com/users/alex-koshara/followers","following_url":"https://api.github.com/users/alex-koshara/following{/other_user}","gists_url":"https://api.github.com/users/alex-koshara/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-koshara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-koshara/subscriptions","organizations_url":"https://api.github.com/users/alex-koshara/orgs","repos_url":"https://api.github.com/users/alex-koshara/repos","events_url":"https://api.github.com/users/alex-koshara/events{/privacy}","received_events_url":"https://api.github.com/users/alex-koshara/received_events","type":"User","site_admin":false},"repo":{"id":79482004,"name":"169035-kekstagram","full_name":"alex-koshara/169035-kekstagram","owner":{"login":"alex-koshara","id":16765673,"avatar_url":"https://avatars.githubusercontent.com/u/16765673?v=3","gravatar_id":"","url":"https://api.github.com/users/alex-koshara","html_url":"https://github.com/alex-koshara","followers_url":"https://api.github.com/users/alex-koshara/followers","following_url":"https://api.github.com/users/alex-koshara/following{/other_user}","gists_url":"https://api.github.com/users/alex-koshara/gists{/gist_id}","starred_url":"https://api.github.com/users/alex-koshara/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex-koshara/subscriptions","organizations_url":"https://api.github.com/users/alex-koshara/orgs","repos_url":"https://api.github.com/users/alex-koshara/repos","events_url":"https://api.github.com/users/alex-koshara/events{/privacy}","received_events_url":"https://api.github.com/users/alex-koshara/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/alex-koshara/169035-kekstagram","description":"Александр Кошара","fork":true,"url":"https://api.github.com/repos/alex-koshara/169035-kekstagram","forks_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/forks","keys_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/teams","hooks_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/events","assignees_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/tags","blobs_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/languages","stargazers_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/subscription","commits_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/merges","archive_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/downloads","issues_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/alex-koshara/169035-kekstagram/deployments","created_at":"2017-01-19T18:26:23Z","updated_at":"2017-01-19T18:26:24Z","pushed_at":"2017-02-12T10:02:48Z","git_url":"git://github.com/alex-koshara/169035-kekstagram.git","ssh_url":"git@github.com:alex-koshara/169035-kekstagram.git","clone_url":"https://github.com/alex-koshara/169035-kekstagram.git","svn_url":"https://github.com/alex-koshara/169035-kekstagram","homepage":null,"size":4281,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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":"b350542ff105b7806397ea93c71a3790acd85ddc","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.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":79465806,"name":"169035-kekstagram","full_name":"htmlacademy-javascript/169035-kekstagram","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars.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/169035-kekstagram","description":"Александр Кошара","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/deployments","created_at":"2017-01-19T15:17:28Z","updated_at":"2017-01-19T18:55:10Z","pushed_at":"2017-02-12T10:02:49Z","git_url":"git://github.com/htmlacademy-javascript/169035-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/169035-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/169035-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/169035-kekstagram","homepage":"https://github.com/alex-koshara/169035-kekstagram","size":4277,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"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/169035-kekstagram/pulls/4"},"html":{"href":"https://github.com/htmlacademy-javascript/169035-kekstagram/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/169035-kekstagram/statuses/ec9f47a26fa2d75f4ea8d5cfb571192390fb13d3"}}}}
{"actor":{"display_login":"isqua"}}