{"action":"created","comment":{"url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/comments/44929964","id":44929964,"diff_hunk":"@@ -0,0 +1,36 @@\n+function getMessage(a, b) {\n+\n+\tvar a = typeof a;\n+\tvar b = typeof b;\n+\n+\tif (a == \"boolean\" && a == true) {\n+\t  return (\"Переданное GIF-изображение анимировано и содержит\" + b + \"кадров\" );\n+\t} else {\n+\t  return ('Переданное GIF-изображение не анимировано');\n+\t}\n+\n+\tif (a == \"number\") {\n+\t   var attr = b*4\n+\t   return (\"Переданное SVG-изображение содержит\" + a + \"объектов и\" + attr + \"аттрибутов\");\n+\t  }\n+\n+    if (a.constractor == Array) {\n+\t     var arr = a;\n+\t\t var result = arr.reduce(function(sum, current) {","path":"js/check.js","position":19,"original_position":19,"commit_id":"6dd547d2d6894acf4c37b39c8c8b1cdd454f4a41","original_commit_id":"6dd547d2d6894acf4c37b39c8c8b1cdd454f4a41","user":{"login":"o0","id":696826,"avatar_url":"https://avatars.githubusercontent.com/u/696826?v=3","gravatar_id":"","url":"https://api.github.com/users/o0","html_url":"https://github.com/o0","followers_url":"https://api.github.com/users/o0/followers","following_url":"https://api.github.com/users/o0/following{/other_user}","gists_url":"https://api.github.com/users/o0/gists{/gist_id}","starred_url":"https://api.github.com/users/o0/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/o0/subscriptions","organizations_url":"https://api.github.com/users/o0/orgs","repos_url":"https://api.github.com/users/o0/repos","events_url":"https://api.github.com/users/o0/events{/privacy}","received_events_url":"https://api.github.com/users/o0/received_events","type":"User","site_admin":false},"body":"А почему бы и нет? Он для того и придуман, чтобы сворачивать списки:)","created_at":"2015-11-16T14:41:17Z","updated_at":"2015-11-16T14:41:17Z","html_url":"https://github.com/js-htmlacademy/135886-keksogram/pull/2#discussion_r44929964","pull_request_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/comments/44929964"},"html":{"href":"https://github.com/js-htmlacademy/135886-keksogram/pull/2#discussion_r44929964"},"pull_request":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2","id":50733735,"html_url":"https://github.com/js-htmlacademy/135886-keksogram/pull/2","diff_url":"https://github.com/js-htmlacademy/135886-keksogram/pull/2.diff","patch_url":"https://github.com/js-htmlacademy/135886-keksogram/pull/2.patch","issue_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/2","number":2,"state":"closed","locked":false,"title":"Начинаем программировать","user":{"login":"mdubrova","id":3785162,"avatar_url":"https://avatars.githubusercontent.com/u/3785162?v=3","gravatar_id":"","url":"https://api.github.com/users/mdubrova","html_url":"https://github.com/mdubrova","followers_url":"https://api.github.com/users/mdubrova/followers","following_url":"https://api.github.com/users/mdubrova/following{/other_user}","gists_url":"https://api.github.com/users/mdubrova/gists{/gist_id}","starred_url":"https://api.github.com/users/mdubrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdubrova/subscriptions","organizations_url":"https://api.github.com/users/mdubrova/orgs","repos_url":"https://api.github.com/users/mdubrova/repos","events_url":"https://api.github.com/users/mdubrova/events{/privacy}","received_events_url":"https://api.github.com/users/mdubrova/received_events","type":"User","site_admin":false},"body":"\n\n--\n:boom: https://js-htmlacademy.github.io/135886-keksogram/2/","created_at":"2015-11-14T22:15:46Z","updated_at":"2015-11-16T14:41:17Z","closed_at":"2015-11-16T14:30:36Z","merged_at":"2015-11-16T14:30:36Z","merge_commit_sha":"06bb2b06e58a5460131c365d6312d5c0bb78c396","assignee":{"login":"whois42","id":6996559,"avatar_url":"https://avatars.githubusercontent.com/u/6996559?v=3","gravatar_id":"","url":"https://api.github.com/users/whois42","html_url":"https://github.com/whois42","followers_url":"https://api.github.com/users/whois42/followers","following_url":"https://api.github.com/users/whois42/following{/other_user}","gists_url":"https://api.github.com/users/whois42/gists{/gist_id}","starred_url":"https://api.github.com/users/whois42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/whois42/subscriptions","organizations_url":"https://api.github.com/users/whois42/orgs","repos_url":"https://api.github.com/users/whois42/repos","events_url":"https://api.github.com/users/whois42/events{/privacy}","received_events_url":"https://api.github.com/users/whois42/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2/commits","review_comments_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2/comments","review_comment_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/2/comments","statuses_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/statuses/6dd547d2d6894acf4c37b39c8c8b1cdd454f4a41","head":{"label":"mdubrova:module1-task2","ref":"module1-task2","sha":"6dd547d2d6894acf4c37b39c8c8b1cdd454f4a41","user":{"login":"mdubrova","id":3785162,"avatar_url":"https://avatars.githubusercontent.com/u/3785162?v=3","gravatar_id":"","url":"https://api.github.com/users/mdubrova","html_url":"https://github.com/mdubrova","followers_url":"https://api.github.com/users/mdubrova/followers","following_url":"https://api.github.com/users/mdubrova/following{/other_user}","gists_url":"https://api.github.com/users/mdubrova/gists{/gist_id}","starred_url":"https://api.github.com/users/mdubrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdubrova/subscriptions","organizations_url":"https://api.github.com/users/mdubrova/orgs","repos_url":"https://api.github.com/users/mdubrova/repos","events_url":"https://api.github.com/users/mdubrova/events{/privacy}","received_events_url":"https://api.github.com/users/mdubrova/received_events","type":"User","site_admin":false},"repo":{"id":46087317,"name":"135886-keksogram","full_name":"mdubrova/135886-keksogram","owner":{"login":"mdubrova","id":3785162,"avatar_url":"https://avatars.githubusercontent.com/u/3785162?v=3","gravatar_id":"","url":"https://api.github.com/users/mdubrova","html_url":"https://github.com/mdubrova","followers_url":"https://api.github.com/users/mdubrova/followers","following_url":"https://api.github.com/users/mdubrova/following{/other_user}","gists_url":"https://api.github.com/users/mdubrova/gists{/gist_id}","starred_url":"https://api.github.com/users/mdubrova/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdubrova/subscriptions","organizations_url":"https://api.github.com/users/mdubrova/orgs","repos_url":"https://api.github.com/users/mdubrova/repos","events_url":"https://api.github.com/users/mdubrova/events{/privacy}","received_events_url":"https://api.github.com/users/mdubrova/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mdubrova/135886-keksogram","description":"Мария Федорова","fork":true,"url":"https://api.github.com/repos/mdubrova/135886-keksogram","forks_url":"https://api.github.com/repos/mdubrova/135886-keksogram/forks","keys_url":"https://api.github.com/repos/mdubrova/135886-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdubrova/135886-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdubrova/135886-keksogram/teams","hooks_url":"https://api.github.com/repos/mdubrova/135886-keksogram/hooks","issue_events_url":"https://api.github.com/repos/mdubrova/135886-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/mdubrova/135886-keksogram/events","assignees_url":"https://api.github.com/repos/mdubrova/135886-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/mdubrova/135886-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/mdubrova/135886-keksogram/tags","blobs_url":"https://api.github.com/repos/mdubrova/135886-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdubrova/135886-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdubrova/135886-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdubrova/135886-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdubrova/135886-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/mdubrova/135886-keksogram/languages","stargazers_url":"https://api.github.com/repos/mdubrova/135886-keksogram/stargazers","contributors_url":"https://api.github.com/repos/mdubrova/135886-keksogram/contributors","subscribers_url":"https://api.github.com/repos/mdubrova/135886-keksogram/subscribers","subscription_url":"https://api.github.com/repos/mdubrova/135886-keksogram/subscription","commits_url":"https://api.github.com/repos/mdubrova/135886-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdubrova/135886-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdubrova/135886-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdubrova/135886-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdubrova/135886-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/mdubrova/135886-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdubrova/135886-keksogram/merges","archive_url":"https://api.github.com/repos/mdubrova/135886-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdubrova/135886-keksogram/downloads","issues_url":"https://api.github.com/repos/mdubrova/135886-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/mdubrova/135886-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/mdubrova/135886-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/mdubrova/135886-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdubrova/135886-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/mdubrova/135886-keksogram/releases{/id}","created_at":"2015-11-12T23:28:08Z","updated_at":"2015-11-12T23:28:09Z","pushed_at":"2015-11-14T22:56:04Z","git_url":"git://github.com/mdubrova/135886-keksogram.git","ssh_url":"git@github.com:mdubrova/135886-keksogram.git","clone_url":"https://github.com/mdubrova/135886-keksogram.git","svn_url":"https://github.com/mdubrova/135886-keksogram","homepage":null,"size":0,"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":"js-htmlacademy:master","ref":"master","sha":"cf4fc1cdd52cd44b58af7c58682d8dfcd1e36872","user":{"login":"js-htmlacademy","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/js-htmlacademy","html_url":"https://github.com/js-htmlacademy","followers_url":"https://api.github.com/users/js-htmlacademy/followers","following_url":"https://api.github.com/users/js-htmlacademy/following{/other_user}","gists_url":"https://api.github.com/users/js-htmlacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/js-htmlacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-htmlacademy/subscriptions","organizations_url":"https://api.github.com/users/js-htmlacademy/orgs","repos_url":"https://api.github.com/users/js-htmlacademy/repos","events_url":"https://api.github.com/users/js-htmlacademy/events{/privacy}","received_events_url":"https://api.github.com/users/js-htmlacademy/received_events","type":"Organization","site_admin":false},"repo":{"id":46078259,"name":"135886-keksogram","full_name":"js-htmlacademy/135886-keksogram","owner":{"login":"js-htmlacademy","id":14179712,"avatar_url":"https://avatars.githubusercontent.com/u/14179712?v=3","gravatar_id":"","url":"https://api.github.com/users/js-htmlacademy","html_url":"https://github.com/js-htmlacademy","followers_url":"https://api.github.com/users/js-htmlacademy/followers","following_url":"https://api.github.com/users/js-htmlacademy/following{/other_user}","gists_url":"https://api.github.com/users/js-htmlacademy/gists{/gist_id}","starred_url":"https://api.github.com/users/js-htmlacademy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/js-htmlacademy/subscriptions","organizations_url":"https://api.github.com/users/js-htmlacademy/orgs","repos_url":"https://api.github.com/users/js-htmlacademy/repos","events_url":"https://api.github.com/users/js-htmlacademy/events{/privacy}","received_events_url":"https://api.github.com/users/js-htmlacademy/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/js-htmlacademy/135886-keksogram","description":"Мария Федорова","fork":false,"url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram","forks_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/forks","keys_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/teams","hooks_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/hooks","issue_events_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/events{/number}","events_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/events","assignees_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/assignees{/user}","branches_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/branches{/branch}","tags_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/tags","blobs_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/git/refs{/sha}","trees_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/statuses/{sha}","languages_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/languages","stargazers_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/stargazers","contributors_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/contributors","subscribers_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/subscribers","subscription_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/subscription","commits_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/commits{/sha}","git_commits_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/git/commits{/sha}","comments_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/comments{/number}","issue_comment_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/comments{/number}","contents_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/contents/{+path}","compare_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/merges","archive_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/downloads","issues_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues{/number}","pulls_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls{/number}","milestones_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/milestones{/number}","notifications_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/labels{/name}","releases_url":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/releases{/id}","created_at":"2015-11-12T20:16:10Z","updated_at":"2015-11-12T23:36:25Z","pushed_at":"2015-11-16T14:32:59Z","git_url":"git://github.com/js-htmlacademy/135886-keksogram.git","ssh_url":"git@github.com:js-htmlacademy/135886-keksogram.git","clone_url":"https://github.com/js-htmlacademy/135886-keksogram.git","svn_url":"https://github.com/js-htmlacademy/135886-keksogram","homepage":"https://github.com/mdubrova/135886-keksogram","size":0,"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/js-htmlacademy/135886-keksogram/pulls/2"},"html":{"href":"https://github.com/js-htmlacademy/135886-keksogram/pull/2"},"issue":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/2"},"comments":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/js-htmlacademy/135886-keksogram/statuses/6dd547d2d6894acf4c37b39c8c8b1cdd454f4a41"}}}}