{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/comments/61376137","id":61376137,"diff_hunk":"@@ -143,3 +147,24 @@ var setScrollEnabled = function() {\n     }, 100);\n   });\n };\n+/**\n+ * @param {Object} data\n+ * @param {Element} container\n+ * @constructor\n+ */\n+var Photo = function(data, container) {","path":"src/pictures.js","position":39,"original_position":39,"commit_id":"7d876825118ed1e5c5af4af1eab88b34babe78ac","original_commit_id":"7d876825118ed1e5c5af4af1eab88b34babe78ac","user":{"login":"nezed","id":1659008,"avatar_url":"https://avatars.githubusercontent.com/u/1659008?v=3","gravatar_id":"","url":"https://api.github.com/users/nezed","html_url":"https://github.com/nezed","followers_url":"https://api.github.com/users/nezed/followers","following_url":"https://api.github.com/users/nezed/following{/other_user}","gists_url":"https://api.github.com/users/nezed/gists{/gist_id}","starred_url":"https://api.github.com/users/nezed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nezed/subscriptions","organizations_url":"https://api.github.com/users/nezed/orgs","repos_url":"https://api.github.com/users/nezed/repos","events_url":"https://api.github.com/users/nezed/events{/privacy}","received_events_url":"https://api.github.com/users/nezed/received_events","type":"User","site_admin":false},"body":"Хорошо, только вынеси этот класс в отдельный модуль.\r\nКстати, параметр `container` у тебя будет типа `Node`","created_at":"2016-04-28T05:48:17Z","updated_at":"2016-04-28T05:48:17Z","html_url":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14#discussion_r61376137","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/comments/61376137"},"html":{"href":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14#discussion_r61376137"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14","id":68131363,"html_url":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14","diff_url":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14.diff","patch_url":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/14","number":14,"state":"open","locked":false,"title":"Первый класс","user":{"login":"Demontikas","id":18055145,"avatar_url":"https://avatars.githubusercontent.com/u/18055145?v=3","gravatar_id":"","url":"https://api.github.com/users/Demontikas","html_url":"https://github.com/Demontikas","followers_url":"https://api.github.com/users/Demontikas/followers","following_url":"https://api.github.com/users/Demontikas/following{/other_user}","gists_url":"https://api.github.com/users/Demontikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Demontikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Demontikas/subscriptions","organizations_url":"https://api.github.com/users/Demontikas/orgs","repos_url":"https://api.github.com/users/Demontikas/repos","events_url":"https://api.github.com/users/Demontikas/events{/privacy}","received_events_url":"https://api.github.com/users/Demontikas/received_events","type":"User","site_admin":false},"body":null,"created_at":"2016-04-27T21:52:27Z","updated_at":"2016-04-28T05:48:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c9d0050a61cae83e355fa2027a1eb6827d504123","assignee":{"login":"nezed","id":1659008,"avatar_url":"https://avatars.githubusercontent.com/u/1659008?v=3","gravatar_id":"","url":"https://api.github.com/users/nezed","html_url":"https://github.com/nezed","followers_url":"https://api.github.com/users/nezed/followers","following_url":"https://api.github.com/users/nezed/following{/other_user}","gists_url":"https://api.github.com/users/nezed/gists{/gist_id}","starred_url":"https://api.github.com/users/nezed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nezed/subscriptions","organizations_url":"https://api.github.com/users/nezed/orgs","repos_url":"https://api.github.com/users/nezed/repos","events_url":"https://api.github.com/users/nezed/events{/privacy}","received_events_url":"https://api.github.com/users/nezed/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/14/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/statuses/7d876825118ed1e5c5af4af1eab88b34babe78ac","head":{"label":"Demontikas:module8-task1","ref":"module8-task1","sha":"7d876825118ed1e5c5af4af1eab88b34babe78ac","user":{"login":"Demontikas","id":18055145,"avatar_url":"https://avatars.githubusercontent.com/u/18055145?v=3","gravatar_id":"","url":"https://api.github.com/users/Demontikas","html_url":"https://github.com/Demontikas","followers_url":"https://api.github.com/users/Demontikas/followers","following_url":"https://api.github.com/users/Demontikas/following{/other_user}","gists_url":"https://api.github.com/users/Demontikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Demontikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Demontikas/subscriptions","organizations_url":"https://api.github.com/users/Demontikas/orgs","repos_url":"https://api.github.com/users/Demontikas/repos","events_url":"https://api.github.com/users/Demontikas/events{/privacy}","received_events_url":"https://api.github.com/users/Demontikas/received_events","type":"User","site_admin":false},"repo":{"id":54658533,"name":"191197-kekstagram","full_name":"Demontikas/191197-kekstagram","owner":{"login":"Demontikas","id":18055145,"avatar_url":"https://avatars.githubusercontent.com/u/18055145?v=3","gravatar_id":"","url":"https://api.github.com/users/Demontikas","html_url":"https://github.com/Demontikas","followers_url":"https://api.github.com/users/Demontikas/followers","following_url":"https://api.github.com/users/Demontikas/following{/other_user}","gists_url":"https://api.github.com/users/Demontikas/gists{/gist_id}","starred_url":"https://api.github.com/users/Demontikas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Demontikas/subscriptions","organizations_url":"https://api.github.com/users/Demontikas/orgs","repos_url":"https://api.github.com/users/Demontikas/repos","events_url":"https://api.github.com/users/Demontikas/events{/privacy}","received_events_url":"https://api.github.com/users/Demontikas/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Demontikas/191197-kekstagram","description":"Неопознанный енот","fork":true,"url":"https://api.github.com/repos/Demontikas/191197-kekstagram","forks_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/forks","keys_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/teams","hooks_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/events","assignees_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/tags","blobs_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/languages","stargazers_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/subscription","commits_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/merges","archive_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/downloads","issues_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/Demontikas/191197-kekstagram/deployments","created_at":"2016-03-24T16:50:12Z","updated_at":"2016-03-24T17:34:05Z","pushed_at":"2016-04-27T21:51:59Z","git_url":"git://github.com/Demontikas/191197-kekstagram.git","ssh_url":"git@github.com:Demontikas/191197-kekstagram.git","clone_url":"https://github.com/Demontikas/191197-kekstagram.git","svn_url":"https://github.com/Demontikas/191197-kekstagram","homepage":"","size":3827,"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":"c0244257bfe15cdeecef0637eeccd166cd103f2e","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":54500473,"name":"191197-kekstagram","full_name":"htmlacademy-javascript/191197-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/191197-kekstagram","description":"Неопознанный енот","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/deployments","created_at":"2016-03-22T18:49:01Z","updated_at":"2016-03-24T18:36:08Z","pushed_at":"2016-04-27T21:52:28Z","git_url":"git://github.com/htmlacademy-javascript/191197-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/191197-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/191197-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/191197-kekstagram","homepage":"https://github.com/Demontikas/191197-kekstagram","size":3828,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14"},"html":{"href":"https://github.com/htmlacademy-javascript/191197-kekstagram/pull/14"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/14"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/issues/14/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/pulls/14/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/191197-kekstagram/statuses/7d876825118ed1e5c5af4af1eab88b34babe78ac"}}}}