{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/comments/64728860","id":64728860,"diff_hunk":"@@ -0,0 +1,28 @@\n+function getMessage(a,b) {\n+  if (typeof a === \"boolean\") {\n+    if (a == true) {\n+      return \"Переданное GIF-изображение анимировано и содержит \" + b + \" кадров\";\n+    }\n+    else {\n+      return \"Переданное GIF-изображение не анимировано\";\n+    }\n+    }\n+   if (typeof a === \"number\") {\n+      return \"Переданное SVG-изображение содержит \" + a + \" объектов и \" + b * 4 +\" атрибутов\";\n+    }\n+    else if (typeof a === \"object\" && a.length) {\n+    var sum = 0;\n+     for (var i = 0; i < a.length; i++) {\n+      sum += a[i];\n+   }\n+      return \"Количество красных точек во всех строчках изображения: \" + sum;\n+    }\n+    else if ((typeof a === \"object\" && a.length) && (typeof a === \"object\" && a.length)) {","path":"build/js/check.js","position":20,"original_position":20,"commit_id":"1e13152b4bc8929b5f569ebe7f7370bec12cae07","original_commit_id":"1e13152b4bc8929b5f569ebe7f7370bec12cae07","user":{"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},"body":"Зачем ты проверяешь одно и то же 2 раза? Будь внимательней","created_at":"2016-05-26T11:15:50Z","updated_at":"2016-05-26T11:15:50Z","html_url":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3#discussion_r64728860","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/comments/64728860"},"html":{"href":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3#discussion_r64728860"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3","id":71336935,"html_url":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3","diff_url":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3.diff","patch_url":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/3","number":3,"state":"open","locked":false,"title":"Начинаем программировать","user":{"login":"bogdanGR","id":14231865,"avatar_url":"https://avatars.githubusercontent.com/u/14231865?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanGR","html_url":"https://github.com/bogdanGR","followers_url":"https://api.github.com/users/bogdanGR/followers","following_url":"https://api.github.com/users/bogdanGR/following{/other_user}","gists_url":"https://api.github.com/users/bogdanGR/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanGR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanGR/subscriptions","organizations_url":"https://api.github.com/users/bogdanGR/orgs","repos_url":"https://api.github.com/users/bogdanGR/repos","events_url":"https://api.github.com/users/bogdanGR/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanGR/received_events","type":"User","site_admin":false},"body":"попытался сделать задание( требует доработки)\n\n--\n:boom: https://htmlacademy-javascript.github.io/126100-kekstagram/3/","created_at":"2016-05-25T06:32:28Z","updated_at":"2016-05-26T11:15:50Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a94d37f94bc19fcb20b9dbbff507af4a7f6c8a6f","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/htmlacademy-javascript/126100-kekstagram/pulls/3/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/3/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/statuses/1e13152b4bc8929b5f569ebe7f7370bec12cae07","head":{"label":"bogdanGR:module1-task2","ref":"module1-task2","sha":"1e13152b4bc8929b5f569ebe7f7370bec12cae07","user":{"login":"bogdanGR","id":14231865,"avatar_url":"https://avatars.githubusercontent.com/u/14231865?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanGR","html_url":"https://github.com/bogdanGR","followers_url":"https://api.github.com/users/bogdanGR/followers","following_url":"https://api.github.com/users/bogdanGR/following{/other_user}","gists_url":"https://api.github.com/users/bogdanGR/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanGR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanGR/subscriptions","organizations_url":"https://api.github.com/users/bogdanGR/orgs","repos_url":"https://api.github.com/users/bogdanGR/repos","events_url":"https://api.github.com/users/bogdanGR/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanGR/received_events","type":"User","site_admin":false},"repo":{"id":59600439,"name":"126100-kekstagram","full_name":"bogdanGR/126100-kekstagram","owner":{"login":"bogdanGR","id":14231865,"avatar_url":"https://avatars.githubusercontent.com/u/14231865?v=3","gravatar_id":"","url":"https://api.github.com/users/bogdanGR","html_url":"https://github.com/bogdanGR","followers_url":"https://api.github.com/users/bogdanGR/followers","following_url":"https://api.github.com/users/bogdanGR/following{/other_user}","gists_url":"https://api.github.com/users/bogdanGR/gists{/gist_id}","starred_url":"https://api.github.com/users/bogdanGR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bogdanGR/subscriptions","organizations_url":"https://api.github.com/users/bogdanGR/orgs","repos_url":"https://api.github.com/users/bogdanGR/repos","events_url":"https://api.github.com/users/bogdanGR/events{/privacy}","received_events_url":"https://api.github.com/users/bogdanGR/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bogdanGR/126100-kekstagram","description":"Богдан Васкан","fork":true,"url":"https://api.github.com/repos/bogdanGR/126100-kekstagram","forks_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/forks","keys_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/teams","hooks_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/events","assignees_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/tags","blobs_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/languages","stargazers_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/subscription","commits_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/merges","archive_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/downloads","issues_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/bogdanGR/126100-kekstagram/deployments","created_at":"2016-05-24T19:00:19Z","updated_at":"2016-05-24T19:00:20Z","pushed_at":"2016-05-26T10:41:18Z","git_url":"git://github.com/bogdanGR/126100-kekstagram.git","ssh_url":"git@github.com:bogdanGR/126100-kekstagram.git","clone_url":"https://github.com/bogdanGR/126100-kekstagram.git","svn_url":"https://github.com/bogdanGR/126100-kekstagram","homepage":null,"size":3762,"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":"fa9fa545d34a890b0e9fc5d571fca54c7eb94891","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":59600386,"name":"126100-kekstagram","full_name":"htmlacademy-javascript/126100-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/126100-kekstagram","description":"Богдан Васкан","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/deployments","created_at":"2016-05-24T18:59:32Z","updated_at":"2016-05-24T19:46:41Z","pushed_at":"2016-05-26T10:41:18Z","git_url":"git://github.com/htmlacademy-javascript/126100-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/126100-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/126100-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/126100-kekstagram","homepage":"https://github.com/bogdanGR/126100-kekstagram","size":3763,"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/126100-kekstagram/pulls/3"},"html":{"href":"https://github.com/htmlacademy-javascript/126100-kekstagram/pull/3"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/3"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/issues/3/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/pulls/3/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/126100-kekstagram/statuses/1e13152b4bc8929b5f569ebe7f7370bec12cae07"}}}}
{"actor":{"display_login":"whois42"}}