{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/comments/85381322","pull_request_review_id":6102004,"id":85381322,"diff_hunk":"@@ -48,4 +47,6 @@ var renderPictures = function(picArray) {\n   filterBlock.classList.remove('hidden');\n };\n \n-loadPictures(urlToLoad);\n+loadPictures(urlToLoad, function(data) {","path":"src/pictures.js","position":null,"original_position":24,"commit_id":"4d808118406ca78224b9dabe58b28780c06ee9c1","original_commit_id":"4d808118406ca78224b9dabe58b28780c06ee9c1","user":{"login":"luuuv","id":20765752,"avatar_url":"https://avatars.githubusercontent.com/u/20765752?v=3","gravatar_id":"","url":"https://api.github.com/users/luuuv","html_url":"https://github.com/luuuv","followers_url":"https://api.github.com/users/luuuv/followers","following_url":"https://api.github.com/users/luuuv/following{/other_user}","gists_url":"https://api.github.com/users/luuuv/gists{/gist_id}","starred_url":"https://api.github.com/users/luuuv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luuuv/subscriptions","organizations_url":"https://api.github.com/users/luuuv/orgs","repos_url":"https://api.github.com/users/luuuv/repos","events_url":"https://api.github.com/users/luuuv/events{/privacy}","received_events_url":"https://api.github.com/users/luuuv/received_events","type":"User","site_admin":false},"body":"если просто вызвать функцию renderPictures и передать ей data, то data будет считаться не объявленной. и другого выхода нет, кроме как объявления анонимной функции.","created_at":"2016-10-27T16:57:20Z","updated_at":"2016-10-27T16:57:20Z","html_url":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7#discussion_r85381322","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/comments/85381322"},"html":{"href":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7#discussion_r85381322"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7","id":90521219,"html_url":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7","diff_url":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7.diff","patch_url":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/7","number":7,"state":"open","locked":false,"title":"JSONP","user":{"login":"luuuv","id":20765752,"avatar_url":"https://avatars.githubusercontent.com/u/20765752?v=3","gravatar_id":"","url":"https://api.github.com/users/luuuv","html_url":"https://github.com/luuuv","followers_url":"https://api.github.com/users/luuuv/followers","following_url":"https://api.github.com/users/luuuv/following{/other_user}","gists_url":"https://api.github.com/users/luuuv/gists{/gist_id}","starred_url":"https://api.github.com/users/luuuv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luuuv/subscriptions","organizations_url":"https://api.github.com/users/luuuv/orgs","repos_url":"https://api.github.com/users/luuuv/repos","events_url":"https://api.github.com/users/luuuv/events{/privacy}","received_events_url":"https://api.github.com/users/luuuv/received_events","type":"User","site_admin":false},"body":"Попробовали загрузить данные с сервера.","created_at":"2016-10-23T16:49:51Z","updated_at":"2016-10-27T16:57:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c60fbf82d4db5cf3bef5d7d84730c3c536efc32d","assignee":{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false},"assignees":[{"login":"princed","id":796050,"avatar_url":"https://avatars.githubusercontent.com/u/796050?v=3","gravatar_id":"","url":"https://api.github.com/users/princed","html_url":"https://github.com/princed","followers_url":"https://api.github.com/users/princed/followers","following_url":"https://api.github.com/users/princed/following{/other_user}","gists_url":"https://api.github.com/users/princed/gists{/gist_id}","starred_url":"https://api.github.com/users/princed/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/princed/subscriptions","organizations_url":"https://api.github.com/users/princed/orgs","repos_url":"https://api.github.com/users/princed/repos","events_url":"https://api.github.com/users/princed/events{/privacy}","received_events_url":"https://api.github.com/users/princed/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/7/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/statuses/4d808118406ca78224b9dabe58b28780c06ee9c1","head":{"label":"luuuv:module4-task2","ref":"module4-task2","sha":"4d808118406ca78224b9dabe58b28780c06ee9c1","user":{"login":"luuuv","id":20765752,"avatar_url":"https://avatars.githubusercontent.com/u/20765752?v=3","gravatar_id":"","url":"https://api.github.com/users/luuuv","html_url":"https://github.com/luuuv","followers_url":"https://api.github.com/users/luuuv/followers","following_url":"https://api.github.com/users/luuuv/following{/other_user}","gists_url":"https://api.github.com/users/luuuv/gists{/gist_id}","starred_url":"https://api.github.com/users/luuuv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luuuv/subscriptions","organizations_url":"https://api.github.com/users/luuuv/orgs","repos_url":"https://api.github.com/users/luuuv/repos","events_url":"https://api.github.com/users/luuuv/events{/privacy}","received_events_url":"https://api.github.com/users/luuuv/received_events","type":"User","site_admin":false},"repo":{"id":70055702,"name":"24290-kekstagram","full_name":"luuuv/24290-kekstagram","owner":{"login":"luuuv","id":20765752,"avatar_url":"https://avatars.githubusercontent.com/u/20765752?v=3","gravatar_id":"","url":"https://api.github.com/users/luuuv","html_url":"https://github.com/luuuv","followers_url":"https://api.github.com/users/luuuv/followers","following_url":"https://api.github.com/users/luuuv/following{/other_user}","gists_url":"https://api.github.com/users/luuuv/gists{/gist_id}","starred_url":"https://api.github.com/users/luuuv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/luuuv/subscriptions","organizations_url":"https://api.github.com/users/luuuv/orgs","repos_url":"https://api.github.com/users/luuuv/repos","events_url":"https://api.github.com/users/luuuv/events{/privacy}","received_events_url":"https://api.github.com/users/luuuv/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/luuuv/24290-kekstagram","description":"luuuv","fork":true,"url":"https://api.github.com/repos/luuuv/24290-kekstagram","forks_url":"https://api.github.com/repos/luuuv/24290-kekstagram/forks","keys_url":"https://api.github.com/repos/luuuv/24290-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/luuuv/24290-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/luuuv/24290-kekstagram/teams","hooks_url":"https://api.github.com/repos/luuuv/24290-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/luuuv/24290-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/luuuv/24290-kekstagram/events","assignees_url":"https://api.github.com/repos/luuuv/24290-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/luuuv/24290-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/luuuv/24290-kekstagram/tags","blobs_url":"https://api.github.com/repos/luuuv/24290-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/luuuv/24290-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/luuuv/24290-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/luuuv/24290-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/luuuv/24290-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/luuuv/24290-kekstagram/languages","stargazers_url":"https://api.github.com/repos/luuuv/24290-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/luuuv/24290-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/luuuv/24290-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/luuuv/24290-kekstagram/subscription","commits_url":"https://api.github.com/repos/luuuv/24290-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/luuuv/24290-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/luuuv/24290-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/luuuv/24290-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/luuuv/24290-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/luuuv/24290-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/luuuv/24290-kekstagram/merges","archive_url":"https://api.github.com/repos/luuuv/24290-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/luuuv/24290-kekstagram/downloads","issues_url":"https://api.github.com/repos/luuuv/24290-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/luuuv/24290-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/luuuv/24290-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/luuuv/24290-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/luuuv/24290-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/luuuv/24290-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/luuuv/24290-kekstagram/deployments","created_at":"2016-10-05T11:52:45Z","updated_at":"2016-10-05T11:52:47Z","pushed_at":"2016-10-25T18:56:05Z","git_url":"git://github.com/luuuv/24290-kekstagram.git","ssh_url":"git@github.com:luuuv/24290-kekstagram.git","clone_url":"https://github.com/luuuv/24290-kekstagram.git","svn_url":"https://github.com/luuuv/24290-kekstagram","homepage":null,"size":4330,"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":"895009fb55c360a840c6d68172e972d222fbaf58","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":70054931,"name":"24290-kekstagram","full_name":"htmlacademy-javascript/24290-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/24290-kekstagram","description":"luuuv","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/deployments","created_at":"2016-10-05T11:41:46Z","updated_at":"2016-10-06T20:18:48Z","pushed_at":"2016-10-25T18:56:06Z","git_url":"git://github.com/htmlacademy-javascript/24290-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/24290-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/24290-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/24290-kekstagram","homepage":"https://github.com/luuuv/24290-kekstagram","size":4388,"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/24290-kekstagram/pulls/7"},"html":{"href":"https://github.com/htmlacademy-javascript/24290-kekstagram/pull/7"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/7"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/24290-kekstagram/statuses/4d808118406ca78224b9dabe58b28780c06ee9c1"}}}}
{"actor":{"display_login":"luuuv"}}