{"action":"created","comment":{"url":"https://api.github.com/repos/HMLd/Javascript/pulls/comments/33439719","id":33439719,"diff_hunk":"@@ -0,0 +1,22 @@\n+﻿// ES5 has built-in map method on Arrays\n+(function () {\n+    'use strict';\n+\n+    function addOne(a) {\n+        return a + 1;\n+    };\n+\n+    function map(array, callback) {\n+        if (array.length === 0) {\n+            return undefined;\n+        }\n+\n+        if (array.length === 1)\n+            return callback(array[0]);\n+\n+        return [callback(array[0])].concat(map(array.slice(1), callback));\n+    };","path":"Javascript.UI/js/problem5.js","position":18,"original_position":18,"commit_id":"9f1fab124fa4c3e9839401f277f1a152f859bf2d","original_commit_id":"9f1fab124fa4c3e9839401f277f1a152f859bf2d","user":{"login":"Shalimov","id":5468176,"avatar_url":"https://avatars.githubusercontent.com/u/5468176?v=3","gravatar_id":"","url":"https://api.github.com/users/Shalimov","html_url":"https://github.com/Shalimov","followers_url":"https://api.github.com/users/Shalimov/followers","following_url":"https://api.github.com/users/Shalimov/following{/other_user}","gists_url":"https://api.github.com/users/Shalimov/gists{/gist_id}","starred_url":"https://api.github.com/users/Shalimov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shalimov/subscriptions","organizations_url":"https://api.github.com/users/Shalimov/orgs","repos_url":"https://api.github.com/users/Shalimov/repos","events_url":"https://api.github.com/users/Shalimov/events{/privacy}","received_events_url":"https://api.github.com/users/Shalimov/received_events","type":"User","site_admin":false},"body":"Очень замысловатя реализация простейшей функции.","created_at":"2015-06-29T07:29:38Z","updated_at":"2015-06-29T07:29:38Z","html_url":"https://github.com/HMLd/Javascript/pull/1#discussion_r33439719","pull_request_url":"https://api.github.com/repos/HMLd/Javascript/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/comments/33439719"},"html":{"href":"https://github.com/HMLd/Javascript/pull/1#discussion_r33439719"},"pull_request":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/HMLd/Javascript/pulls/1","id":36607499,"html_url":"https://github.com/HMLd/Javascript/pull/1","diff_url":"https://github.com/HMLd/Javascript/pull/1.diff","patch_url":"https://github.com/HMLd/Javascript/pull/1.patch","issue_url":"https://api.github.com/repos/HMLd/Javascript/issues/1","number":1,"state":"open","locked":false,"title":"Development","user":{"login":"HMLd","id":800261,"avatar_url":"https://avatars.githubusercontent.com/u/800261?v=3","gravatar_id":"","url":"https://api.github.com/users/HMLd","html_url":"https://github.com/HMLd","followers_url":"https://api.github.com/users/HMLd/followers","following_url":"https://api.github.com/users/HMLd/following{/other_user}","gists_url":"https://api.github.com/users/HMLd/gists{/gist_id}","starred_url":"https://api.github.com/users/HMLd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMLd/subscriptions","organizations_url":"https://api.github.com/users/HMLd/orgs","repos_url":"https://api.github.com/users/HMLd/repos","events_url":"https://api.github.com/users/HMLd/events{/privacy}","received_events_url":"https://api.github.com/users/HMLd/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-06-01T08:24:08Z","updated_at":"2015-06-29T07:29:38Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caa258940fd38e142a10be222037772fb7399a8b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/HMLd/Javascript/pulls/1/commits","review_comments_url":"https://api.github.com/repos/HMLd/Javascript/pulls/1/comments","review_comment_url":"https://api.github.com/repos/HMLd/Javascript/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HMLd/Javascript/issues/1/comments","statuses_url":"https://api.github.com/repos/HMLd/Javascript/statuses/9f1fab124fa4c3e9839401f277f1a152f859bf2d","head":{"label":"HMLd:development","ref":"development","sha":"9f1fab124fa4c3e9839401f277f1a152f859bf2d","user":{"login":"HMLd","id":800261,"avatar_url":"https://avatars.githubusercontent.com/u/800261?v=3","gravatar_id":"","url":"https://api.github.com/users/HMLd","html_url":"https://github.com/HMLd","followers_url":"https://api.github.com/users/HMLd/followers","following_url":"https://api.github.com/users/HMLd/following{/other_user}","gists_url":"https://api.github.com/users/HMLd/gists{/gist_id}","starred_url":"https://api.github.com/users/HMLd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMLd/subscriptions","organizations_url":"https://api.github.com/users/HMLd/orgs","repos_url":"https://api.github.com/users/HMLd/repos","events_url":"https://api.github.com/users/HMLd/events{/privacy}","received_events_url":"https://api.github.com/users/HMLd/received_events","type":"User","site_admin":false},"repo":{"id":36355864,"name":"Javascript","full_name":"HMLd/Javascript","owner":{"login":"HMLd","id":800261,"avatar_url":"https://avatars.githubusercontent.com/u/800261?v=3","gravatar_id":"","url":"https://api.github.com/users/HMLd","html_url":"https://github.com/HMLd","followers_url":"https://api.github.com/users/HMLd/followers","following_url":"https://api.github.com/users/HMLd/following{/other_user}","gists_url":"https://api.github.com/users/HMLd/gists{/gist_id}","starred_url":"https://api.github.com/users/HMLd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMLd/subscriptions","organizations_url":"https://api.github.com/users/HMLd/orgs","repos_url":"https://api.github.com/users/HMLd/repos","events_url":"https://api.github.com/users/HMLd/events{/privacy}","received_events_url":"https://api.github.com/users/HMLd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HMLd/Javascript","description":"","fork":false,"url":"https://api.github.com/repos/HMLd/Javascript","forks_url":"https://api.github.com/repos/HMLd/Javascript/forks","keys_url":"https://api.github.com/repos/HMLd/Javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HMLd/Javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HMLd/Javascript/teams","hooks_url":"https://api.github.com/repos/HMLd/Javascript/hooks","issue_events_url":"https://api.github.com/repos/HMLd/Javascript/issues/events{/number}","events_url":"https://api.github.com/repos/HMLd/Javascript/events","assignees_url":"https://api.github.com/repos/HMLd/Javascript/assignees{/user}","branches_url":"https://api.github.com/repos/HMLd/Javascript/branches{/branch}","tags_url":"https://api.github.com/repos/HMLd/Javascript/tags","blobs_url":"https://api.github.com/repos/HMLd/Javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HMLd/Javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HMLd/Javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/HMLd/Javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HMLd/Javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/HMLd/Javascript/languages","stargazers_url":"https://api.github.com/repos/HMLd/Javascript/stargazers","contributors_url":"https://api.github.com/repos/HMLd/Javascript/contributors","subscribers_url":"https://api.github.com/repos/HMLd/Javascript/subscribers","subscription_url":"https://api.github.com/repos/HMLd/Javascript/subscription","commits_url":"https://api.github.com/repos/HMLd/Javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/HMLd/Javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/HMLd/Javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/HMLd/Javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/HMLd/Javascript/contents/{+path}","compare_url":"https://api.github.com/repos/HMLd/Javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HMLd/Javascript/merges","archive_url":"https://api.github.com/repos/HMLd/Javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HMLd/Javascript/downloads","issues_url":"https://api.github.com/repos/HMLd/Javascript/issues{/number}","pulls_url":"https://api.github.com/repos/HMLd/Javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/HMLd/Javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/HMLd/Javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HMLd/Javascript/labels{/name}","releases_url":"https://api.github.com/repos/HMLd/Javascript/releases{/id}","created_at":"2015-05-27T09:07:34Z","updated_at":"2015-05-27T09:07:34Z","pushed_at":"2015-06-01T08:24:08Z","git_url":"git://github.com/HMLd/Javascript.git","ssh_url":"git@github.com:HMLd/Javascript.git","clone_url":"https://github.com/HMLd/Javascript.git","svn_url":"https://github.com/HMLd/Javascript","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"HMLd:master","ref":"master","sha":"5df8a54bf6b8412a31176cc84b8d133472549d46","user":{"login":"HMLd","id":800261,"avatar_url":"https://avatars.githubusercontent.com/u/800261?v=3","gravatar_id":"","url":"https://api.github.com/users/HMLd","html_url":"https://github.com/HMLd","followers_url":"https://api.github.com/users/HMLd/followers","following_url":"https://api.github.com/users/HMLd/following{/other_user}","gists_url":"https://api.github.com/users/HMLd/gists{/gist_id}","starred_url":"https://api.github.com/users/HMLd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMLd/subscriptions","organizations_url":"https://api.github.com/users/HMLd/orgs","repos_url":"https://api.github.com/users/HMLd/repos","events_url":"https://api.github.com/users/HMLd/events{/privacy}","received_events_url":"https://api.github.com/users/HMLd/received_events","type":"User","site_admin":false},"repo":{"id":36355864,"name":"Javascript","full_name":"HMLd/Javascript","owner":{"login":"HMLd","id":800261,"avatar_url":"https://avatars.githubusercontent.com/u/800261?v=3","gravatar_id":"","url":"https://api.github.com/users/HMLd","html_url":"https://github.com/HMLd","followers_url":"https://api.github.com/users/HMLd/followers","following_url":"https://api.github.com/users/HMLd/following{/other_user}","gists_url":"https://api.github.com/users/HMLd/gists{/gist_id}","starred_url":"https://api.github.com/users/HMLd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HMLd/subscriptions","organizations_url":"https://api.github.com/users/HMLd/orgs","repos_url":"https://api.github.com/users/HMLd/repos","events_url":"https://api.github.com/users/HMLd/events{/privacy}","received_events_url":"https://api.github.com/users/HMLd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/HMLd/Javascript","description":"","fork":false,"url":"https://api.github.com/repos/HMLd/Javascript","forks_url":"https://api.github.com/repos/HMLd/Javascript/forks","keys_url":"https://api.github.com/repos/HMLd/Javascript/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HMLd/Javascript/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HMLd/Javascript/teams","hooks_url":"https://api.github.com/repos/HMLd/Javascript/hooks","issue_events_url":"https://api.github.com/repos/HMLd/Javascript/issues/events{/number}","events_url":"https://api.github.com/repos/HMLd/Javascript/events","assignees_url":"https://api.github.com/repos/HMLd/Javascript/assignees{/user}","branches_url":"https://api.github.com/repos/HMLd/Javascript/branches{/branch}","tags_url":"https://api.github.com/repos/HMLd/Javascript/tags","blobs_url":"https://api.github.com/repos/HMLd/Javascript/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HMLd/Javascript/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HMLd/Javascript/git/refs{/sha}","trees_url":"https://api.github.com/repos/HMLd/Javascript/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HMLd/Javascript/statuses/{sha}","languages_url":"https://api.github.com/repos/HMLd/Javascript/languages","stargazers_url":"https://api.github.com/repos/HMLd/Javascript/stargazers","contributors_url":"https://api.github.com/repos/HMLd/Javascript/contributors","subscribers_url":"https://api.github.com/repos/HMLd/Javascript/subscribers","subscription_url":"https://api.github.com/repos/HMLd/Javascript/subscription","commits_url":"https://api.github.com/repos/HMLd/Javascript/commits{/sha}","git_commits_url":"https://api.github.com/repos/HMLd/Javascript/git/commits{/sha}","comments_url":"https://api.github.com/repos/HMLd/Javascript/comments{/number}","issue_comment_url":"https://api.github.com/repos/HMLd/Javascript/issues/comments{/number}","contents_url":"https://api.github.com/repos/HMLd/Javascript/contents/{+path}","compare_url":"https://api.github.com/repos/HMLd/Javascript/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HMLd/Javascript/merges","archive_url":"https://api.github.com/repos/HMLd/Javascript/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HMLd/Javascript/downloads","issues_url":"https://api.github.com/repos/HMLd/Javascript/issues{/number}","pulls_url":"https://api.github.com/repos/HMLd/Javascript/pulls{/number}","milestones_url":"https://api.github.com/repos/HMLd/Javascript/milestones{/number}","notifications_url":"https://api.github.com/repos/HMLd/Javascript/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HMLd/Javascript/labels{/name}","releases_url":"https://api.github.com/repos/HMLd/Javascript/releases{/id}","created_at":"2015-05-27T09:07:34Z","updated_at":"2015-05-27T09:07:34Z","pushed_at":"2015-06-01T08:24:08Z","git_url":"git://github.com/HMLd/Javascript.git","ssh_url":"git@github.com:HMLd/Javascript.git","clone_url":"https://github.com/HMLd/Javascript.git","svn_url":"https://github.com/HMLd/Javascript","homepage":null,"size":160,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/1"},"html":{"href":"https://github.com/HMLd/Javascript/pull/1"},"issue":{"href":"https://api.github.com/repos/HMLd/Javascript/issues/1"},"comments":{"href":"https://api.github.com/repos/HMLd/Javascript/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HMLd/Javascript/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/HMLd/Javascript/statuses/9f1fab124fa4c3e9839401f277f1a152f859bf2d"}}}}