{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/comments/86660217","pull_request_review_id":7310303,"id":86660217,"diff_hunk":"@@ -166,11 +67,23 @@\n   /**\n    * @type {Function}\n    */\n-  function renderPictures() {\n+  function renderPictures(pictures) {\n     pictures.forEach(function(picture) {\n       var element = createPictures(picture);\n       picturesBlock.appendChild(element);\n     });\n   }\n \n+  /**\n+   * @type {Function}\n+   */\n+  function createRequestJSONP(url, callback, callbackName) {","path":"src/js/pictures.js","position":152,"original_position":152,"commit_id":"a4e9893abafa339afeff7842900341de27a69870","original_commit_id":"a4e9893abafa339afeff7842900341de27a69870","user":{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false},"body":"У тебя имя коллбека доступно и так, ты же егов переменную вынес за пределы видимости функции. Поэтому не надо его передавать как третий аргумент, просто бери и пользуйся=) ","created_at":"2016-11-05T07:54:43Z","updated_at":"2016-11-05T07:58:46Z","html_url":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8#discussion_r86660217","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/comments/86660217"},"html":{"href":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8#discussion_r86660217"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8","id":92371254,"html_url":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8","diff_url":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8.diff","patch_url":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/8","number":8,"state":"open","locked":false,"title":"JSONP","user":{"login":"romkazem","id":11092571,"avatar_url":"https://avatars.githubusercontent.com/u/11092571?v=3","gravatar_id":"","url":"https://api.github.com/users/romkazem","html_url":"https://github.com/romkazem","followers_url":"https://api.github.com/users/romkazem/followers","following_url":"https://api.github.com/users/romkazem/following{/other_user}","gists_url":"https://api.github.com/users/romkazem/gists{/gist_id}","starred_url":"https://api.github.com/users/romkazem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romkazem/subscriptions","organizations_url":"https://api.github.com/users/romkazem/orgs","repos_url":"https://api.github.com/users/romkazem/repos","events_url":"https://api.github.com/users/romkazem/events{/privacy}","received_events_url":"https://api.github.com/users/romkazem/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-04T16:21:12Z","updated_at":"2016-11-05T07:58:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":"298a38769ed8583c4779a5493bd91728be7f66fc","assignee":{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false},"assignees":[{"login":"Yorkina","id":9257720,"avatar_url":"https://avatars.githubusercontent.com/u/9257720?v=3","gravatar_id":"","url":"https://api.github.com/users/Yorkina","html_url":"https://github.com/Yorkina","followers_url":"https://api.github.com/users/Yorkina/followers","following_url":"https://api.github.com/users/Yorkina/following{/other_user}","gists_url":"https://api.github.com/users/Yorkina/gists{/gist_id}","starred_url":"https://api.github.com/users/Yorkina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Yorkina/subscriptions","organizations_url":"https://api.github.com/users/Yorkina/orgs","repos_url":"https://api.github.com/users/Yorkina/repos","events_url":"https://api.github.com/users/Yorkina/events{/privacy}","received_events_url":"https://api.github.com/users/Yorkina/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/8/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/statuses/a4e9893abafa339afeff7842900341de27a69870","head":{"label":"romkazem:module4-task2","ref":"module4-task2","sha":"a4e9893abafa339afeff7842900341de27a69870","user":{"login":"romkazem","id":11092571,"avatar_url":"https://avatars.githubusercontent.com/u/11092571?v=3","gravatar_id":"","url":"https://api.github.com/users/romkazem","html_url":"https://github.com/romkazem","followers_url":"https://api.github.com/users/romkazem/followers","following_url":"https://api.github.com/users/romkazem/following{/other_user}","gists_url":"https://api.github.com/users/romkazem/gists{/gist_id}","starred_url":"https://api.github.com/users/romkazem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romkazem/subscriptions","organizations_url":"https://api.github.com/users/romkazem/orgs","repos_url":"https://api.github.com/users/romkazem/repos","events_url":"https://api.github.com/users/romkazem/events{/privacy}","received_events_url":"https://api.github.com/users/romkazem/received_events","type":"User","site_admin":false},"repo":{"id":70049888,"name":"40730-kekstagram","full_name":"romkazem/40730-kekstagram","owner":{"login":"romkazem","id":11092571,"avatar_url":"https://avatars.githubusercontent.com/u/11092571?v=3","gravatar_id":"","url":"https://api.github.com/users/romkazem","html_url":"https://github.com/romkazem","followers_url":"https://api.github.com/users/romkazem/followers","following_url":"https://api.github.com/users/romkazem/following{/other_user}","gists_url":"https://api.github.com/users/romkazem/gists{/gist_id}","starred_url":"https://api.github.com/users/romkazem/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/romkazem/subscriptions","organizations_url":"https://api.github.com/users/romkazem/orgs","repos_url":"https://api.github.com/users/romkazem/repos","events_url":"https://api.github.com/users/romkazem/events{/privacy}","received_events_url":"https://api.github.com/users/romkazem/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/romkazem/40730-kekstagram","description":"Роман Земеров","fork":true,"url":"https://api.github.com/repos/romkazem/40730-kekstagram","forks_url":"https://api.github.com/repos/romkazem/40730-kekstagram/forks","keys_url":"https://api.github.com/repos/romkazem/40730-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/romkazem/40730-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/romkazem/40730-kekstagram/teams","hooks_url":"https://api.github.com/repos/romkazem/40730-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/romkazem/40730-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/romkazem/40730-kekstagram/events","assignees_url":"https://api.github.com/repos/romkazem/40730-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/romkazem/40730-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/romkazem/40730-kekstagram/tags","blobs_url":"https://api.github.com/repos/romkazem/40730-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/romkazem/40730-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/romkazem/40730-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/romkazem/40730-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/romkazem/40730-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/romkazem/40730-kekstagram/languages","stargazers_url":"https://api.github.com/repos/romkazem/40730-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/romkazem/40730-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/romkazem/40730-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/romkazem/40730-kekstagram/subscription","commits_url":"https://api.github.com/repos/romkazem/40730-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/romkazem/40730-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/romkazem/40730-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/romkazem/40730-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/romkazem/40730-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/romkazem/40730-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/romkazem/40730-kekstagram/merges","archive_url":"https://api.github.com/repos/romkazem/40730-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/romkazem/40730-kekstagram/downloads","issues_url":"https://api.github.com/repos/romkazem/40730-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/romkazem/40730-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/romkazem/40730-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/romkazem/40730-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/romkazem/40730-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/romkazem/40730-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/romkazem/40730-kekstagram/deployments","created_at":"2016-10-05T10:20:46Z","updated_at":"2016-10-05T10:20:47Z","pushed_at":"2016-11-04T16:20:08Z","git_url":"git://github.com/romkazem/40730-kekstagram.git","ssh_url":"git@github.com:romkazem/40730-kekstagram.git","clone_url":"https://github.com/romkazem/40730-kekstagram.git","svn_url":"https://github.com/romkazem/40730-kekstagram","homepage":null,"size":4321,"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":"b523f9a6a816eb558ee7cdd6c89c54300d6d711b","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":70049770,"name":"40730-kekstagram","full_name":"htmlacademy-javascript/40730-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/40730-kekstagram","description":"Роман Земеров","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/deployments","created_at":"2016-10-05T10:18:48Z","updated_at":"2016-10-05T10:43:12Z","pushed_at":"2016-11-04T16:21:12Z","git_url":"git://github.com/htmlacademy-javascript/40730-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/40730-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/40730-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/40730-kekstagram","homepage":"https://github.com/romkazem/40730-kekstagram","size":4332,"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/40730-kekstagram/pulls/8"},"html":{"href":"https://github.com/htmlacademy-javascript/40730-kekstagram/pull/8"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/8"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/40730-kekstagram/statuses/a4e9893abafa339afeff7842900341de27a69870"}}}}
{"actor":{"display_login":"Yorkina"}}