{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/comments/155950365","pull_request_review_id":82352935,"id":155950365,"diff_hunk":"@@ -104,5 +119,84 @@ var renderWizards = function (array) {\n \n renderWizards(createWizards());\n \n-document.querySelector('.setup').classList.remove('hidden');\n-document.querySelector('.setup-similar').classList.remove('hidden');\n+\n+// Начинаю выполнять задание #12 Учебный проект: одеть Надежду\n+var setup = document.querySelector('.setup');\n+var setupOpen = document.querySelector('.setup-open');\n+var setupClose = setup.querySelector('.setup-close');\n+var setupUserName = setup.querySelector('.setup-user-name');\n+var setupWizard = setup.querySelector('.setup-wizard');\n+var wizardCoat = setupWizard.querySelector('.wizard-coat');\n+var wizardEyes = setupWizard.querySelector('.wizard-eyes');\n+var setupFireballWrap = document.querySelector('.setup-fireball-wrap');\n+\n+// Закрываю попап эскейпом\n+var onSetupEscKeydown = function (evt) {\n+  if (evt.keyCode === ESC_KEYCODE && !setupUserName.focus) {","path":"js/setup.js","position":50,"original_position":50,"commit_id":"fd0ea40513d52e6a60de3fdad1871b87f89aad1e","original_commit_id":"fd0ea40513d52e6a60de3fdad1871b87f89aad1e","user":{"login":"o0","id":696826,"avatar_url":"https://avatars0.githubusercontent.com/u/696826?v=4","gravatar_id":"","url":"https://api.github.com/users/o0","html_url":"https://github.com/o0","followers_url":"https://api.github.com/users/o0/followers","following_url":"https://api.github.com/users/o0/following{/other_user}","gists_url":"https://api.github.com/users/o0/gists{/gist_id}","starred_url":"https://api.github.com/users/o0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o0/subscriptions","organizations_url":"https://api.github.com/users/o0/orgs","repos_url":"https://api.github.com/users/o0/repos","events_url":"https://api.github.com/users/o0/events{/privacy}","received_events_url":"https://api.github.com/users/o0/received_events","type":"User","site_admin":false},"body":"М-м-м. Нет, это работать не будет. `setupUserName.focus` это метод, то есть функция, они приводятся в `boolean` как `true`, получается, `!setupUserName.focus === !true === false` всегда, так что это не должно выполняться совсем. Тебе надо вспомнить как работают события, как они распространяются и пойти по одному из двух путей, каких именно: покажи в коде, я говорил об этом на лекции.","created_at":"2017-12-10T15:05:17Z","updated_at":"2017-12-10T15:08:31Z","html_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4#discussion_r155950365","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/comments/155950365"},"html":{"href":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4#discussion_r155950365"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4","id":156260061,"html_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4","diff_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4.diff","patch_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/4","number":4,"state":"open","locked":false,"title":"Учебный проект: одеть Надежду","user":{"login":"tenthreee","id":25146266,"avatar_url":"https://avatars0.githubusercontent.com/u/25146266?v=4","gravatar_id":"","url":"https://api.github.com/users/tenthreee","html_url":"https://github.com/tenthreee","followers_url":"https://api.github.com/users/tenthreee/followers","following_url":"https://api.github.com/users/tenthreee/following{/other_user}","gists_url":"https://api.github.com/users/tenthreee/gists{/gist_id}","starred_url":"https://api.github.com/users/tenthreee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenthreee/subscriptions","organizations_url":"https://api.github.com/users/tenthreee/orgs","repos_url":"https://api.github.com/users/tenthreee/repos","events_url":"https://api.github.com/users/tenthreee/events{/privacy}","received_events_url":"https://api.github.com/users/tenthreee/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Учебный проект: одеть Надежду](https://up.htmlacademy.ru/javascript/11/user/345843/tasks/12)\n\n:boom: https://htmlacademy-javascript.github.io/345843-code-and-magick/4/","created_at":"2017-12-04T17:35:24Z","updated_at":"2017-12-10T15:08:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7ab8a1c4ab1e4a85bf984d04580f12ae04d63a67","assignee":{"login":"o0","id":696826,"avatar_url":"https://avatars0.githubusercontent.com/u/696826?v=4","gravatar_id":"","url":"https://api.github.com/users/o0","html_url":"https://github.com/o0","followers_url":"https://api.github.com/users/o0/followers","following_url":"https://api.github.com/users/o0/following{/other_user}","gists_url":"https://api.github.com/users/o0/gists{/gist_id}","starred_url":"https://api.github.com/users/o0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o0/subscriptions","organizations_url":"https://api.github.com/users/o0/orgs","repos_url":"https://api.github.com/users/o0/repos","events_url":"https://api.github.com/users/o0/events{/privacy}","received_events_url":"https://api.github.com/users/o0/received_events","type":"User","site_admin":false},"assignees":[{"login":"o0","id":696826,"avatar_url":"https://avatars0.githubusercontent.com/u/696826?v=4","gravatar_id":"","url":"https://api.github.com/users/o0","html_url":"https://github.com/o0","followers_url":"https://api.github.com/users/o0/followers","following_url":"https://api.github.com/users/o0/following{/other_user}","gists_url":"https://api.github.com/users/o0/gists{/gist_id}","starred_url":"https://api.github.com/users/o0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o0/subscriptions","organizations_url":"https://api.github.com/users/o0/orgs","repos_url":"https://api.github.com/users/o0/repos","events_url":"https://api.github.com/users/o0/events{/privacy}","received_events_url":"https://api.github.com/users/o0/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/4/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/statuses/fd0ea40513d52e6a60de3fdad1871b87f89aad1e","head":{"label":"tenthreee:module4-task1","ref":"module4-task1","sha":"fd0ea40513d52e6a60de3fdad1871b87f89aad1e","user":{"login":"tenthreee","id":25146266,"avatar_url":"https://avatars0.githubusercontent.com/u/25146266?v=4","gravatar_id":"","url":"https://api.github.com/users/tenthreee","html_url":"https://github.com/tenthreee","followers_url":"https://api.github.com/users/tenthreee/followers","following_url":"https://api.github.com/users/tenthreee/following{/other_user}","gists_url":"https://api.github.com/users/tenthreee/gists{/gist_id}","starred_url":"https://api.github.com/users/tenthreee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenthreee/subscriptions","organizations_url":"https://api.github.com/users/tenthreee/orgs","repos_url":"https://api.github.com/users/tenthreee/repos","events_url":"https://api.github.com/users/tenthreee/events{/privacy}","received_events_url":"https://api.github.com/users/tenthreee/received_events","type":"User","site_admin":false},"repo":{"id":110852681,"name":"345843-code-and-magick","full_name":"tenthreee/345843-code-and-magick","owner":{"login":"tenthreee","id":25146266,"avatar_url":"https://avatars0.githubusercontent.com/u/25146266?v=4","gravatar_id":"","url":"https://api.github.com/users/tenthreee","html_url":"https://github.com/tenthreee","followers_url":"https://api.github.com/users/tenthreee/followers","following_url":"https://api.github.com/users/tenthreee/following{/other_user}","gists_url":"https://api.github.com/users/tenthreee/gists{/gist_id}","starred_url":"https://api.github.com/users/tenthreee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tenthreee/subscriptions","organizations_url":"https://api.github.com/users/tenthreee/orgs","repos_url":"https://api.github.com/users/tenthreee/repos","events_url":"https://api.github.com/users/tenthreee/events{/privacy}","received_events_url":"https://api.github.com/users/tenthreee/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tenthreee/345843-code-and-magick","description":"Три Десятова","fork":true,"url":"https://api.github.com/repos/tenthreee/345843-code-and-magick","forks_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/forks","keys_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/teams","hooks_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/events","assignees_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/tags","blobs_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/subscription","commits_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/merges","archive_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/downloads","issues_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/tenthreee/345843-code-and-magick/deployments","created_at":"2017-11-15T15:41:04Z","updated_at":"2017-11-15T15:41:06Z","pushed_at":"2017-12-07T15:15:27Z","git_url":"git://github.com/tenthreee/345843-code-and-magick.git","ssh_url":"git@github.com:tenthreee/345843-code-and-magick.git","clone_url":"https://github.com/tenthreee/345843-code-and-magick.git","svn_url":"https://github.com/tenthreee/345843-code-and-magick","homepage":null,"size":1099,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"75edbd397b50bf07f6bcb93593fe3dbd272d6ab8","user":{"login":"htmlacademy-javascript","id":14179712,"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":110851723,"name":"345843-code-and-magick","full_name":"htmlacademy-javascript/345843-code-and-magick","owner":{"login":"htmlacademy-javascript","id":14179712,"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/345843-code-and-magick","description":"Три Десятова","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/deployments","created_at":"2017-11-15T15:33:38Z","updated_at":"2017-11-15T16:09:48Z","pushed_at":"2017-12-07T15:17:36Z","git_url":"git://github.com/htmlacademy-javascript/345843-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/345843-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/345843-code-and-magick","homepage":"https://github.com/tenthreee/345843-code-and-magick","size":1114,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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/345843-code-and-magick/pulls/4"},"html":{"href":"https://github.com/htmlacademy-javascript/345843-code-and-magick/pull/4"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/4"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/345843-code-and-magick/statuses/fd0ea40513d52e6a60de3fdad1871b87f89aad1e"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"o0"}}