{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/comments/99280033","pull_request_review_id":19951883,"id":99280033,"diff_hunk":"@@ -60,11 +66,80 @@ wizardFireballNode.addEventListener('click', function () {\n });\n \n // open setup window\n-setupOpenBtnNode.addEventListener('click', function () {\n-  setupWindowNode.classList.remove('invisible');\n+setupOpenBtnNode.addEventListener('click', function (evt) {\n+  openSetupWindow(evt);\n+});\n+\n+setupOpenBtnNode.addEventListener('keydown', function (evt) {\n+  if (isValidKeyPressed(evt.keyCode, KEY_CODE_ENTER)) {","path":"js/setup.js","position":38,"original_position":38,"commit_id":"41da8ac3dde41d899e8d656dce49379c3ccb3644","original_commit_id":"41da8ac3dde41d899e8d656dce49379c3ccb3644","user":{"login":"varkadov","id":1901475,"avatar_url":"https://avatars.githubusercontent.com/u/1901475?v=3","gravatar_id":"","url":"https://api.github.com/users/varkadov","html_url":"https://github.com/varkadov","followers_url":"https://api.github.com/users/varkadov/followers","following_url":"https://api.github.com/users/varkadov/following{/other_user}","gists_url":"https://api.github.com/users/varkadov/gists{/gist_id}","starred_url":"https://api.github.com/users/varkadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varkadov/subscriptions","organizations_url":"https://api.github.com/users/varkadov/orgs","repos_url":"https://api.github.com/users/varkadov/repos","events_url":"https://api.github.com/users/varkadov/events{/privacy}","received_events_url":"https://api.github.com/users/varkadov/received_events","type":"User","site_admin":false},"body":"По жизни ТЗ много чего не описывает, мы должны делать правильный веб!","created_at":"2017-02-03T05:44:03Z","updated_at":"2017-02-03T05:44:03Z","html_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4#discussion_r99280033","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/comments/99280033"},"html":{"href":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4#discussion_r99280033"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4","id":104338800,"html_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4","diff_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4.diff","patch_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/4","number":4,"state":"open","locked":false,"title":"Нажатие посохом","user":{"login":"Andrii-Zaimak","id":23641290,"avatar_url":"https://avatars.githubusercontent.com/u/23641290?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrii-Zaimak","html_url":"https://github.com/Andrii-Zaimak","followers_url":"https://api.github.com/users/Andrii-Zaimak/followers","following_url":"https://api.github.com/users/Andrii-Zaimak/following{/other_user}","gists_url":"https://api.github.com/users/Andrii-Zaimak/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrii-Zaimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrii-Zaimak/subscriptions","organizations_url":"https://api.github.com/users/Andrii-Zaimak/orgs","repos_url":"https://api.github.com/users/Andrii-Zaimak/repos","events_url":"https://api.github.com/users/Andrii-Zaimak/events{/privacy}","received_events_url":"https://api.github.com/users/Andrii-Zaimak/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Нажатие посохом](https://up.htmlacademy.ru/javascript/8/user/311643/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/311643-code-and-magick/4/","created_at":"2017-02-02T13:38:19Z","updated_at":"2017-02-03T05:44:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"02ec23f2c358a7baad85c1b46c2a3e9eaa8227a9","assignee":{"login":"varkadov","id":1901475,"avatar_url":"https://avatars.githubusercontent.com/u/1901475?v=3","gravatar_id":"","url":"https://api.github.com/users/varkadov","html_url":"https://github.com/varkadov","followers_url":"https://api.github.com/users/varkadov/followers","following_url":"https://api.github.com/users/varkadov/following{/other_user}","gists_url":"https://api.github.com/users/varkadov/gists{/gist_id}","starred_url":"https://api.github.com/users/varkadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varkadov/subscriptions","organizations_url":"https://api.github.com/users/varkadov/orgs","repos_url":"https://api.github.com/users/varkadov/repos","events_url":"https://api.github.com/users/varkadov/events{/privacy}","received_events_url":"https://api.github.com/users/varkadov/received_events","type":"User","site_admin":false},"assignees":[{"login":"varkadov","id":1901475,"avatar_url":"https://avatars.githubusercontent.com/u/1901475?v=3","gravatar_id":"","url":"https://api.github.com/users/varkadov","html_url":"https://github.com/varkadov","followers_url":"https://api.github.com/users/varkadov/followers","following_url":"https://api.github.com/users/varkadov/following{/other_user}","gists_url":"https://api.github.com/users/varkadov/gists{/gist_id}","starred_url":"https://api.github.com/users/varkadov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/varkadov/subscriptions","organizations_url":"https://api.github.com/users/varkadov/orgs","repos_url":"https://api.github.com/users/varkadov/repos","events_url":"https://api.github.com/users/varkadov/events{/privacy}","received_events_url":"https://api.github.com/users/varkadov/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/statuses/41da8ac3dde41d899e8d656dce49379c3ccb3644","head":{"label":"Andrii-Zaimak:module4-task1","ref":"module4-task1","sha":"41da8ac3dde41d899e8d656dce49379c3ccb3644","user":{"login":"Andrii-Zaimak","id":23641290,"avatar_url":"https://avatars.githubusercontent.com/u/23641290?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrii-Zaimak","html_url":"https://github.com/Andrii-Zaimak","followers_url":"https://api.github.com/users/Andrii-Zaimak/followers","following_url":"https://api.github.com/users/Andrii-Zaimak/following{/other_user}","gists_url":"https://api.github.com/users/Andrii-Zaimak/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrii-Zaimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrii-Zaimak/subscriptions","organizations_url":"https://api.github.com/users/Andrii-Zaimak/orgs","repos_url":"https://api.github.com/users/Andrii-Zaimak/repos","events_url":"https://api.github.com/users/Andrii-Zaimak/events{/privacy}","received_events_url":"https://api.github.com/users/Andrii-Zaimak/received_events","type":"User","site_admin":false},"repo":{"id":79320696,"name":"311643-code-and-magick","full_name":"Andrii-Zaimak/311643-code-and-magick","owner":{"login":"Andrii-Zaimak","id":23641290,"avatar_url":"https://avatars.githubusercontent.com/u/23641290?v=3","gravatar_id":"","url":"https://api.github.com/users/Andrii-Zaimak","html_url":"https://github.com/Andrii-Zaimak","followers_url":"https://api.github.com/users/Andrii-Zaimak/followers","following_url":"https://api.github.com/users/Andrii-Zaimak/following{/other_user}","gists_url":"https://api.github.com/users/Andrii-Zaimak/gists{/gist_id}","starred_url":"https://api.github.com/users/Andrii-Zaimak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Andrii-Zaimak/subscriptions","organizations_url":"https://api.github.com/users/Andrii-Zaimak/orgs","repos_url":"https://api.github.com/users/Andrii-Zaimak/repos","events_url":"https://api.github.com/users/Andrii-Zaimak/events{/privacy}","received_events_url":"https://api.github.com/users/Andrii-Zaimak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Andrii-Zaimak/311643-code-and-magick","description":"Andrii Zaimak","fork":true,"url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick","forks_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/forks","keys_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/teams","hooks_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/events","assignees_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/tags","blobs_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/subscription","commits_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/merges","archive_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/downloads","issues_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/Andrii-Zaimak/311643-code-and-magick/deployments","created_at":"2017-01-18T08:46:00Z","updated_at":"2017-01-18T08:46:02Z","pushed_at":"2017-02-02T13:38:08Z","git_url":"git://github.com/Andrii-Zaimak/311643-code-and-magick.git","ssh_url":"git@github.com:Andrii-Zaimak/311643-code-and-magick.git","clone_url":"https://github.com/Andrii-Zaimak/311643-code-and-magick.git","svn_url":"https://github.com/Andrii-Zaimak/311643-code-and-magick","homepage":null,"size":1084,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"63f27df53701e1dc2891ddacadcd03c4e1de20c1","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":79320674,"name":"311643-code-and-magick","full_name":"htmlacademy-javascript/311643-code-and-magick","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/311643-code-and-magick","description":"Andrii Zaimak","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/deployments","created_at":"2017-01-18T08:45:43Z","updated_at":"2017-01-18T09:08:10Z","pushed_at":"2017-02-02T13:38:51Z","git_url":"git://github.com/htmlacademy-javascript/311643-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/311643-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/311643-code-and-magick","homepage":"https://github.com/Andrii-Zaimak/311643-code-and-magick","size":1089,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/311643-code-and-magick/pulls/4"},"html":{"href":"https://github.com/htmlacademy-javascript/311643-code-and-magick/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/311643-code-and-magick/statuses/41da8ac3dde41d899e8d656dce49379c3ccb3644"}}}}
{"actor":{"display_login":"varkadov"}}