{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/comments/76595862","id":76595862,"diff_hunk":"@@ -0,0 +1,91 @@\n+'use strict';\n+\n+var galleryElement = document.querySelector('.overlay-gallery');","path":"src/gallery.js","position":3,"original_position":3,"commit_id":"b9e0bfee1a18274c6299c6a7e7b4280be8d27d69","original_commit_id":"b9e0bfee1a18274c6299c6a7e7b4280be8d27d69","user":{"login":"juwain","id":928081,"avatar_url":"https://avatars.githubusercontent.com/u/928081?v=3","gravatar_id":"","url":"https://api.github.com/users/juwain","html_url":"https://github.com/juwain","followers_url":"https://api.github.com/users/juwain/followers","following_url":"https://api.github.com/users/juwain/following{/other_user}","gists_url":"https://api.github.com/users/juwain/gists{/gist_id}","starred_url":"https://api.github.com/users/juwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juwain/subscriptions","organizations_url":"https://api.github.com/users/juwain/orgs","repos_url":"https://api.github.com/users/juwain/repos","events_url":"https://api.github.com/users/juwain/events{/privacy}","received_events_url":"https://api.github.com/users/juwain/received_events","type":"User","site_admin":false},"body":"А в чём профит вынести нахождение дом-элементов из конструктора?","created_at":"2016-08-29T12:09:15Z","updated_at":"2016-08-29T12:09:15Z","html_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12#discussion_r76595862","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/comments/76595862"},"html":{"href":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12#discussion_r76595862"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12","id":83021017,"html_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12","diff_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12.diff","patch_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/12","number":12,"state":"open","locked":false,"title":"Объект «Галерея»","user":{"login":"dynamitegit","id":13759065,"avatar_url":"https://avatars.githubusercontent.com/u/13759065?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamitegit","html_url":"https://github.com/dynamitegit","followers_url":"https://api.github.com/users/dynamitegit/followers","following_url":"https://api.github.com/users/dynamitegit/following{/other_user}","gists_url":"https://api.github.com/users/dynamitegit/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamitegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamitegit/subscriptions","organizations_url":"https://api.github.com/users/dynamitegit/orgs","repos_url":"https://api.github.com/users/dynamitegit/repos","events_url":"https://api.github.com/users/dynamitegit/events{/privacy}","received_events_url":"https://api.github.com/users/dynamitegit/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-08-28T17:02:05Z","updated_at":"2016-08-29T12:09:15Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c8e0d416384ee0d71349e3935d32ac12bf45b1bf","assignee":{"login":"juwain","id":928081,"avatar_url":"https://avatars.githubusercontent.com/u/928081?v=3","gravatar_id":"","url":"https://api.github.com/users/juwain","html_url":"https://github.com/juwain","followers_url":"https://api.github.com/users/juwain/followers","following_url":"https://api.github.com/users/juwain/following{/other_user}","gists_url":"https://api.github.com/users/juwain/gists{/gist_id}","starred_url":"https://api.github.com/users/juwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juwain/subscriptions","organizations_url":"https://api.github.com/users/juwain/orgs","repos_url":"https://api.github.com/users/juwain/repos","events_url":"https://api.github.com/users/juwain/events{/privacy}","received_events_url":"https://api.github.com/users/juwain/received_events","type":"User","site_admin":false},"assignees":[{"login":"juwain","id":928081,"avatar_url":"https://avatars.githubusercontent.com/u/928081?v=3","gravatar_id":"","url":"https://api.github.com/users/juwain","html_url":"https://github.com/juwain","followers_url":"https://api.github.com/users/juwain/followers","following_url":"https://api.github.com/users/juwain/following{/other_user}","gists_url":"https://api.github.com/users/juwain/gists{/gist_id}","starred_url":"https://api.github.com/users/juwain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juwain/subscriptions","organizations_url":"https://api.github.com/users/juwain/orgs","repos_url":"https://api.github.com/users/juwain/repos","events_url":"https://api.github.com/users/juwain/events{/privacy}","received_events_url":"https://api.github.com/users/juwain/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/12/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/statuses/b9e0bfee1a18274c6299c6a7e7b4280be8d27d69","head":{"label":"dynamitegit:module6-task1","ref":"module6-task1","sha":"b9e0bfee1a18274c6299c6a7e7b4280be8d27d69","user":{"login":"dynamitegit","id":13759065,"avatar_url":"https://avatars.githubusercontent.com/u/13759065?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamitegit","html_url":"https://github.com/dynamitegit","followers_url":"https://api.github.com/users/dynamitegit/followers","following_url":"https://api.github.com/users/dynamitegit/following{/other_user}","gists_url":"https://api.github.com/users/dynamitegit/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamitegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamitegit/subscriptions","organizations_url":"https://api.github.com/users/dynamitegit/orgs","repos_url":"https://api.github.com/users/dynamitegit/repos","events_url":"https://api.github.com/users/dynamitegit/events{/privacy}","received_events_url":"https://api.github.com/users/dynamitegit/received_events","type":"User","site_admin":false},"repo":{"id":64783242,"name":"code-and-magick","full_name":"dynamitegit/code-and-magick","owner":{"login":"dynamitegit","id":13759065,"avatar_url":"https://avatars.githubusercontent.com/u/13759065?v=3","gravatar_id":"","url":"https://api.github.com/users/dynamitegit","html_url":"https://github.com/dynamitegit","followers_url":"https://api.github.com/users/dynamitegit/followers","following_url":"https://api.github.com/users/dynamitegit/following{/other_user}","gists_url":"https://api.github.com/users/dynamitegit/gists{/gist_id}","starred_url":"https://api.github.com/users/dynamitegit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dynamitegit/subscriptions","organizations_url":"https://api.github.com/users/dynamitegit/orgs","repos_url":"https://api.github.com/users/dynamitegit/repos","events_url":"https://api.github.com/users/dynamitegit/events{/privacy}","received_events_url":"https://api.github.com/users/dynamitegit/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/dynamitegit/code-and-magick","description":"Вадим Иванов","fork":true,"url":"https://api.github.com/repos/dynamitegit/code-and-magick","forks_url":"https://api.github.com/repos/dynamitegit/code-and-magick/forks","keys_url":"https://api.github.com/repos/dynamitegit/code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dynamitegit/code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dynamitegit/code-and-magick/teams","hooks_url":"https://api.github.com/repos/dynamitegit/code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/dynamitegit/code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/dynamitegit/code-and-magick/events","assignees_url":"https://api.github.com/repos/dynamitegit/code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/dynamitegit/code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/dynamitegit/code-and-magick/tags","blobs_url":"https://api.github.com/repos/dynamitegit/code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dynamitegit/code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dynamitegit/code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/dynamitegit/code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dynamitegit/code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/dynamitegit/code-and-magick/languages","stargazers_url":"https://api.github.com/repos/dynamitegit/code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/dynamitegit/code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/dynamitegit/code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/dynamitegit/code-and-magick/subscription","commits_url":"https://api.github.com/repos/dynamitegit/code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/dynamitegit/code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/dynamitegit/code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/dynamitegit/code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/dynamitegit/code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/dynamitegit/code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dynamitegit/code-and-magick/merges","archive_url":"https://api.github.com/repos/dynamitegit/code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dynamitegit/code-and-magick/downloads","issues_url":"https://api.github.com/repos/dynamitegit/code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/dynamitegit/code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/dynamitegit/code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/dynamitegit/code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dynamitegit/code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/dynamitegit/code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/dynamitegit/code-and-magick/deployments","created_at":"2016-08-02T18:45:34Z","updated_at":"2016-08-02T18:48:05Z","pushed_at":"2016-08-28T17:00:41Z","git_url":"git://github.com/dynamitegit/code-and-magick.git","ssh_url":"git@github.com:dynamitegit/code-and-magick.git","clone_url":"https://github.com/dynamitegit/code-and-magick.git","svn_url":"https://github.com/dynamitegit/code-and-magick","homepage":null,"size":1493,"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":"c10109211400bcadc77ae6c8f160cafae61f5ff1","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":64783223,"name":"6537-code-and-magick","full_name":"htmlacademy-javascript/6537-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/6537-code-and-magick","description":"Вадим Иванов","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick","forks_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/deployments","created_at":"2016-08-02T18:45:21Z","updated_at":"2016-08-03T17:48:53Z","pushed_at":"2016-08-28T17:02:05Z","git_url":"git://github.com/htmlacademy-javascript/6537-code-and-magick.git","ssh_url":"git@github.com:htmlacademy-javascript/6537-code-and-magick.git","clone_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick.git","svn_url":"https://github.com/htmlacademy-javascript/6537-code-and-magick","homepage":"https://github.com/dynamitegit/code-and-magick","size":1525,"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/6537-code-and-magick/pulls/12"},"html":{"href":"https://github.com/htmlacademy-javascript/6537-code-and-magick/pull/12"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/12"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/issues/12/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/pulls/12/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/6537-code-and-magick/statuses/b9e0bfee1a18274c6299c6a7e7b4280be8d27d69"}}}}
{"actor":{"display_login":"juwain"}}