{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/comments/101963135","pull_request_review_id":22703850,"id":101963135,"diff_hunk":"@@ -4,18 +4,22 @@ var setupOpen = document.querySelector('.setup-open img');\n var setupDialog = document.querySelector('.setup');\n var setupClose = setupDialog.querySelector('.setup-close');\n var setupSubmitDialog = document.querySelector('.setup-submit');\n-var CODE_ENTER_KEY = 13;","path":"js/setup.js","position":4,"original_position":4,"commit_id":"37c65ce1400025931886bb7709a6889ad78242af","original_commit_id":"37c65ce1400025931886bb7709a6889ad78242af","user":{"login":"jaxxreal","id":1089571,"avatar_url":"https://avatars.githubusercontent.com/u/1089571?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxxreal","html_url":"https://github.com/jaxxreal","followers_url":"https://api.github.com/users/jaxxreal/followers","following_url":"https://api.github.com/users/jaxxreal/following{/other_user}","gists_url":"https://api.github.com/users/jaxxreal/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxxreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxxreal/subscriptions","organizations_url":"https://api.github.com/users/jaxxreal/orgs","repos_url":"https://api.github.com/users/jaxxreal/repos","events_url":"https://api.github.com/users/jaxxreal/events{/privacy}","received_events_url":"https://api.github.com/users/jaxxreal/received_events","type":"User","site_admin":false},"body":"Имело бы смысле весь код этого файла обернуть в IIFE, чтобы не засорять глобальную область видимости.","created_at":"2017-02-20T08:06:15Z","updated_at":"2017-02-20T08:06:37Z","html_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9#discussion_r101963135","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/comments/101963135"},"html":{"href":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9#discussion_r101963135"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9","id":106912459,"html_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9","diff_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9.diff","patch_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/9","number":9,"state":"open","locked":false,"title":"Полная изоляция, учебный проект","user":{"login":"SatrikTS","id":16774119,"avatar_url":"https://avatars.githubusercontent.com/u/16774119?v=3","gravatar_id":"","url":"https://api.github.com/users/SatrikTS","html_url":"https://github.com/SatrikTS","followers_url":"https://api.github.com/users/SatrikTS/followers","following_url":"https://api.github.com/users/SatrikTS/following{/other_user}","gists_url":"https://api.github.com/users/SatrikTS/gists{/gist_id}","starred_url":"https://api.github.com/users/SatrikTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatrikTS/subscriptions","organizations_url":"https://api.github.com/users/SatrikTS/orgs","repos_url":"https://api.github.com/users/SatrikTS/repos","events_url":"https://api.github.com/users/SatrikTS/events{/privacy}","received_events_url":"https://api.github.com/users/SatrikTS/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Полная изоляция, учебный проект](https://up.htmlacademy.ru/javascript/8/user/124377/tasks/17)\n\n:boom: https://htmlacademy-javascript.github.io/124377-code-and-magick/9/","created_at":"2017-02-19T19:14:17Z","updated_at":"2017-02-20T08:06:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"82e848419ca3cf2dab82f9208ef66df98e9163d4","assignee":{"login":"jaxxreal","id":1089571,"avatar_url":"https://avatars.githubusercontent.com/u/1089571?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxxreal","html_url":"https://github.com/jaxxreal","followers_url":"https://api.github.com/users/jaxxreal/followers","following_url":"https://api.github.com/users/jaxxreal/following{/other_user}","gists_url":"https://api.github.com/users/jaxxreal/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxxreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxxreal/subscriptions","organizations_url":"https://api.github.com/users/jaxxreal/orgs","repos_url":"https://api.github.com/users/jaxxreal/repos","events_url":"https://api.github.com/users/jaxxreal/events{/privacy}","received_events_url":"https://api.github.com/users/jaxxreal/received_events","type":"User","site_admin":false},"assignees":[{"login":"jaxxreal","id":1089571,"avatar_url":"https://avatars.githubusercontent.com/u/1089571?v=3","gravatar_id":"","url":"https://api.github.com/users/jaxxreal","html_url":"https://github.com/jaxxreal","followers_url":"https://api.github.com/users/jaxxreal/followers","following_url":"https://api.github.com/users/jaxxreal/following{/other_user}","gists_url":"https://api.github.com/users/jaxxreal/gists{/gist_id}","starred_url":"https://api.github.com/users/jaxxreal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaxxreal/subscriptions","organizations_url":"https://api.github.com/users/jaxxreal/orgs","repos_url":"https://api.github.com/users/jaxxreal/repos","events_url":"https://api.github.com/users/jaxxreal/events{/privacy}","received_events_url":"https://api.github.com/users/jaxxreal/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/9/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/statuses/37c65ce1400025931886bb7709a6889ad78242af","head":{"label":"SatrikTS:module6-task1","ref":"module6-task1","sha":"37c65ce1400025931886bb7709a6889ad78242af","user":{"login":"SatrikTS","id":16774119,"avatar_url":"https://avatars.githubusercontent.com/u/16774119?v=3","gravatar_id":"","url":"https://api.github.com/users/SatrikTS","html_url":"https://github.com/SatrikTS","followers_url":"https://api.github.com/users/SatrikTS/followers","following_url":"https://api.github.com/users/SatrikTS/following{/other_user}","gists_url":"https://api.github.com/users/SatrikTS/gists{/gist_id}","starred_url":"https://api.github.com/users/SatrikTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatrikTS/subscriptions","organizations_url":"https://api.github.com/users/SatrikTS/orgs","repos_url":"https://api.github.com/users/SatrikTS/repos","events_url":"https://api.github.com/users/SatrikTS/events{/privacy}","received_events_url":"https://api.github.com/users/SatrikTS/received_events","type":"User","site_admin":false},"repo":{"id":79267638,"name":"124377-code-and-magick","full_name":"SatrikTS/124377-code-and-magick","owner":{"login":"SatrikTS","id":16774119,"avatar_url":"https://avatars.githubusercontent.com/u/16774119?v=3","gravatar_id":"","url":"https://api.github.com/users/SatrikTS","html_url":"https://github.com/SatrikTS","followers_url":"https://api.github.com/users/SatrikTS/followers","following_url":"https://api.github.com/users/SatrikTS/following{/other_user}","gists_url":"https://api.github.com/users/SatrikTS/gists{/gist_id}","starred_url":"https://api.github.com/users/SatrikTS/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SatrikTS/subscriptions","organizations_url":"https://api.github.com/users/SatrikTS/orgs","repos_url":"https://api.github.com/users/SatrikTS/repos","events_url":"https://api.github.com/users/SatrikTS/events{/privacy}","received_events_url":"https://api.github.com/users/SatrikTS/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/SatrikTS/124377-code-and-magick","description":"Satrik Satrik","fork":true,"url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick","forks_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/forks","keys_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/teams","hooks_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/events","assignees_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/tags","blobs_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/subscription","commits_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/merges","archive_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/downloads","issues_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/SatrikTS/124377-code-and-magick/deployments","created_at":"2017-01-17T20:15:33Z","updated_at":"2017-01-17T20:15:34Z","pushed_at":"2017-02-19T19:13:54Z","git_url":"git://github.com/SatrikTS/124377-code-and-magick.git","ssh_url":"git@github.com:SatrikTS/124377-code-and-magick.git","clone_url":"https://github.com/SatrikTS/124377-code-and-magick.git","svn_url":"https://github.com/SatrikTS/124377-code-and-magick","homepage":null,"size":1092,"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":"a4d8b329c9796b9c3eb0d83ef81d94e9294cb2bf","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":79267574,"name":"124377-code-and-magick","full_name":"htmlacademy-javascript/124377-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/124377-code-and-magick","description":"Satrik Satrik","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/deployments","created_at":"2017-01-17T20:14:44Z","updated_at":"2017-01-19T20:49:56Z","pushed_at":"2017-02-19T19:16:56Z","git_url":"git://github.com/htmlacademy-javascript/124377-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/124377-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/124377-code-and-magick","homepage":"https://github.com/SatrikTS/124377-code-and-magick","size":1102,"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/124377-code-and-magick/pulls/9"},"html":{"href":"https://github.com/htmlacademy-javascript/124377-code-and-magick/pull/9"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/9"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/issues/9/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/pulls/9/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/124377-code-and-magick/statuses/37c65ce1400025931886bb7709a6889ad78242af"}}}}
{"actor":{"display_login":"jaxxreal"}}