{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/comments/82141229","pull_request_review_id":3068301,"id":82141229,"diff_hunk":"@@ -0,0 +1,52 @@\n+\"use strict\";\n+\n+function getMessage(a,b) {\n+    \n+    if (typeof(a) == \"boolean\") {\n+        \n+        if (a == true) { \n+            return \"Переданное GIF-изображение анимировано и содержит \" + b + \" кадров\";\n+        }\n+        \n+        else { \n+            return \"Переданное GIF-изображение не анимировано\";\n+        }\n+    }\n+    \n+    \n+    if (typeof(a) == \"number\") {\n+        return \"Переданное SVG-изображение содержит \" + a + \" объектов и \" + b*4 + \" атрибутов\";\n+    }\n+        \n+    \n+    if (typeof(a) == \"object\" && typeof(b) == \"object\") {","path":"src/js/check.js","position":22,"original_position":22,"commit_id":"abb324ec215d818c3e32617e36a9b5848dcaa9a2","original_commit_id":"abb324ec215d818c3e32617e36a9b5848dcaa9a2","user":{"login":"dickclaus","id":193487,"avatar_url":"https://avatars.githubusercontent.com/u/193487?v=3","gravatar_id":"","url":"https://api.github.com/users/dickclaus","html_url":"https://github.com/dickclaus","followers_url":"https://api.github.com/users/dickclaus/followers","following_url":"https://api.github.com/users/dickclaus/following{/other_user}","gists_url":"https://api.github.com/users/dickclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dickclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickclaus/subscriptions","organizations_url":"https://api.github.com/users/dickclaus/orgs","repos_url":"https://api.github.com/users/dickclaus/repos","events_url":"https://api.github.com/users/dickclaus/events{/privacy}","received_events_url":"https://api.github.com/users/dickclaus/received_events","type":"User","site_admin":false},"body":"Здесь лучше применять проверку Array.isArray\r\nhttps://developer.mozilla.org/en/docs/Web/JavaScript/Reference/Global_Objects/Array/isArray","created_at":"2016-10-06T08:40:52Z","updated_at":"2016-10-06T08:48:31Z","html_url":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2#discussion_r82141229","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/comments/82141229"},"html":{"href":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2#discussion_r82141229"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2","id":88215227,"html_url":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2","diff_url":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2.diff","patch_url":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/2","number":2,"state":"open","locked":false,"title":"Начинаем программировать","user":{"login":"derevyankindenis","id":13950935,"avatar_url":"https://avatars.githubusercontent.com/u/13950935?v=3","gravatar_id":"","url":"https://api.github.com/users/derevyankindenis","html_url":"https://github.com/derevyankindenis","followers_url":"https://api.github.com/users/derevyankindenis/followers","following_url":"https://api.github.com/users/derevyankindenis/following{/other_user}","gists_url":"https://api.github.com/users/derevyankindenis/gists{/gist_id}","starred_url":"https://api.github.com/users/derevyankindenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derevyankindenis/subscriptions","organizations_url":"https://api.github.com/users/derevyankindenis/orgs","repos_url":"https://api.github.com/users/derevyankindenis/repos","events_url":"https://api.github.com/users/derevyankindenis/events{/privacy}","received_events_url":"https://api.github.com/users/derevyankindenis/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-10-06T08:06:00Z","updated_at":"2016-10-06T08:48:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e87053095281ff4e4e22de4eb62b170cd365a94b","assignee":{"login":"dickclaus","id":193487,"avatar_url":"https://avatars.githubusercontent.com/u/193487?v=3","gravatar_id":"","url":"https://api.github.com/users/dickclaus","html_url":"https://github.com/dickclaus","followers_url":"https://api.github.com/users/dickclaus/followers","following_url":"https://api.github.com/users/dickclaus/following{/other_user}","gists_url":"https://api.github.com/users/dickclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dickclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickclaus/subscriptions","organizations_url":"https://api.github.com/users/dickclaus/orgs","repos_url":"https://api.github.com/users/dickclaus/repos","events_url":"https://api.github.com/users/dickclaus/events{/privacy}","received_events_url":"https://api.github.com/users/dickclaus/received_events","type":"User","site_admin":false},"assignees":[{"login":"dickclaus","id":193487,"avatar_url":"https://avatars.githubusercontent.com/u/193487?v=3","gravatar_id":"","url":"https://api.github.com/users/dickclaus","html_url":"https://github.com/dickclaus","followers_url":"https://api.github.com/users/dickclaus/followers","following_url":"https://api.github.com/users/dickclaus/following{/other_user}","gists_url":"https://api.github.com/users/dickclaus/gists{/gist_id}","starred_url":"https://api.github.com/users/dickclaus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dickclaus/subscriptions","organizations_url":"https://api.github.com/users/dickclaus/orgs","repos_url":"https://api.github.com/users/dickclaus/repos","events_url":"https://api.github.com/users/dickclaus/events{/privacy}","received_events_url":"https://api.github.com/users/dickclaus/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/2/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/statuses/abb324ec215d818c3e32617e36a9b5848dcaa9a2","head":{"label":"derevyankindenis:module1-task2","ref":"module1-task2","sha":"abb324ec215d818c3e32617e36a9b5848dcaa9a2","user":{"login":"derevyankindenis","id":13950935,"avatar_url":"https://avatars.githubusercontent.com/u/13950935?v=3","gravatar_id":"","url":"https://api.github.com/users/derevyankindenis","html_url":"https://github.com/derevyankindenis","followers_url":"https://api.github.com/users/derevyankindenis/followers","following_url":"https://api.github.com/users/derevyankindenis/following{/other_user}","gists_url":"https://api.github.com/users/derevyankindenis/gists{/gist_id}","starred_url":"https://api.github.com/users/derevyankindenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derevyankindenis/subscriptions","organizations_url":"https://api.github.com/users/derevyankindenis/orgs","repos_url":"https://api.github.com/users/derevyankindenis/repos","events_url":"https://api.github.com/users/derevyankindenis/events{/privacy}","received_events_url":"https://api.github.com/users/derevyankindenis/received_events","type":"User","site_admin":false},"repo":{"id":70126368,"name":"113198-kekstagram","full_name":"derevyankindenis/113198-kekstagram","owner":{"login":"derevyankindenis","id":13950935,"avatar_url":"https://avatars.githubusercontent.com/u/13950935?v=3","gravatar_id":"","url":"https://api.github.com/users/derevyankindenis","html_url":"https://github.com/derevyankindenis","followers_url":"https://api.github.com/users/derevyankindenis/followers","following_url":"https://api.github.com/users/derevyankindenis/following{/other_user}","gists_url":"https://api.github.com/users/derevyankindenis/gists{/gist_id}","starred_url":"https://api.github.com/users/derevyankindenis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/derevyankindenis/subscriptions","organizations_url":"https://api.github.com/users/derevyankindenis/orgs","repos_url":"https://api.github.com/users/derevyankindenis/repos","events_url":"https://api.github.com/users/derevyankindenis/events{/privacy}","received_events_url":"https://api.github.com/users/derevyankindenis/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/derevyankindenis/113198-kekstagram","description":"Денис Деревянкин","fork":true,"url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram","forks_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/forks","keys_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/teams","hooks_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/events","assignees_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/tags","blobs_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/languages","stargazers_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/subscription","commits_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/merges","archive_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/downloads","issues_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/derevyankindenis/113198-kekstagram/deployments","created_at":"2016-10-06T05:46:59Z","updated_at":"2016-10-06T05:47:01Z","pushed_at":"2016-10-06T08:01:54Z","git_url":"git://github.com/derevyankindenis/113198-kekstagram.git","ssh_url":"git@github.com:derevyankindenis/113198-kekstagram.git","clone_url":"https://github.com/derevyankindenis/113198-kekstagram.git","svn_url":"https://github.com/derevyankindenis/113198-kekstagram","homepage":null,"size":4301,"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":"cea91686436bedc15a2942dfd62e62ffbab99cc6","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":69996810,"name":"113198-kekstagram","full_name":"htmlacademy-javascript/113198-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/113198-kekstagram","description":"Денис Деревянкин","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/deployments","created_at":"2016-10-04T19:02:30Z","updated_at":"2016-10-06T05:55:00Z","pushed_at":"2016-10-06T08:06:00Z","git_url":"git://github.com/htmlacademy-javascript/113198-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/113198-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/113198-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/113198-kekstagram","homepage":"https://github.com/derevyankindenis/113198-kekstagram","size":4301,"stargazers_count":0,"watchers_count":0,"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":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2"},"html":{"href":"https://github.com/htmlacademy-javascript/113198-kekstagram/pull/2"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/2"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/113198-kekstagram/statuses/abb324ec215d818c3e32617e36a9b5848dcaa9a2"}}}}
{"actor":{"display_login":"dickclaus"}}