{"action":"created","comment":{"url":"https://api.github.com/repos/gaech/course/pulls/comments/201761326","pull_request_review_id":136325219,"id":201761326,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMTc2MTMyNg==","diff_hunk":"@@ -0,0 +1,78 @@\n+<!DOCTYPE html>\n+<html lang=\"en\">\n+<head>\n+    <meta charset=\"UTF-8\">\n+    <title>Large numbers</title>\n+</head>\n+<body>\n+    <script>\n+\n+    function sum(a, b) {\n+\n+        a = a.toString(); \n+        b = b.toString();\n+        \n+        if (a.length == 0) {\n+            return b;\n+        }\n+\n+        if (b.length == 0) {\n+            return a;\n+        }\n+\n+        var carryDigit = 0;\n+        var sum = \"\";\n+        var result = \"\";\n+        var maxLength = Math.max(a.length, b.length);\n+\n+        for (var i = 1; i <= maxLength; i++) {\n+            sum =   parseInt((a.charAt(a.length - i) || \"0\"), 10) \n+                    + parseInt((b.charAt(b.length - i) || \"0\"), 10) \n+                    + carryDigit;\n+            \n+            if (carryDigit = sum > 9 ? 1 : 0) {\n+                sum %= 10;\n+            }\n+\n+            result = sum.toString().concat(result);           ","path":"05 JavaScript Basics/homework/YuBil/05/index.html","position":37,"original_position":37,"commit_id":"845bb4cbc498d31d215c0cad64e1797437f2e77a","original_commit_id":"845bb4cbc498d31d215c0cad64e1797437f2e77a","user":{"login":"gaech","id":122259,"node_id":"MDQ6VXNlcjEyMjI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/122259?v=4","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"body":"Слишком сложно для простого сложения двух строк","created_at":"2018-07-11T16:35:30Z","updated_at":"2018-07-11T16:38:26Z","html_url":"https://github.com/gaech/course/pull/221#discussion_r201761326","pull_request_url":"https://api.github.com/repos/gaech/course/pulls/221","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/gaech/course/pulls/comments/201761326"},"html":{"href":"https://github.com/gaech/course/pull/221#discussion_r201761326"},"pull_request":{"href":"https://api.github.com/repos/gaech/course/pulls/221"}}},"pull_request":{"url":"https://api.github.com/repos/gaech/course/pulls/221","id":199178166,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk5MTc4MTY2","html_url":"https://github.com/gaech/course/pull/221","diff_url":"https://github.com/gaech/course/pull/221.diff","patch_url":"https://github.com/gaech/course/pull/221.patch","issue_url":"https://api.github.com/repos/gaech/course/issues/221","number":221,"state":"open","locked":false,"title":"Ex 05 05","user":{"login":"YuBil","id":15247167,"node_id":"MDQ6VXNlcjE1MjQ3MTY3","avatar_url":"https://avatars0.githubusercontent.com/u/15247167?v=4","gravatar_id":"","url":"https://api.github.com/users/YuBil","html_url":"https://github.com/YuBil","followers_url":"https://api.github.com/users/YuBil/followers","following_url":"https://api.github.com/users/YuBil/following{/other_user}","gists_url":"https://api.github.com/users/YuBil/gists{/gist_id}","starred_url":"https://api.github.com/users/YuBil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuBil/subscriptions","organizations_url":"https://api.github.com/users/YuBil/orgs","repos_url":"https://api.github.com/users/YuBil/repos","events_url":"https://api.github.com/users/YuBil/events{/privacy}","received_events_url":"https://api.github.com/users/YuBil/received_events","type":"User","site_admin":false},"body":"Проверь, пожалуйста. ","created_at":"2018-07-04T08:43:25Z","updated_at":"2018-07-11T16:38:26Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e27f31a376facb3c342c623e8fc182f99db8fd43","assignee":{"login":"gaech","id":122259,"node_id":"MDQ6VXNlcjEyMjI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/122259?v=4","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"assignees":[{"login":"gaech","id":122259,"node_id":"MDQ6VXNlcjEyMjI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/122259?v=4","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/gaech/course/pulls/221/commits","review_comments_url":"https://api.github.com/repos/gaech/course/pulls/221/comments","review_comment_url":"https://api.github.com/repos/gaech/course/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gaech/course/issues/221/comments","statuses_url":"https://api.github.com/repos/gaech/course/statuses/845bb4cbc498d31d215c0cad64e1797437f2e77a","head":{"label":"YuBil:ex-05-05","ref":"ex-05-05","sha":"845bb4cbc498d31d215c0cad64e1797437f2e77a","user":{"login":"YuBil","id":15247167,"node_id":"MDQ6VXNlcjE1MjQ3MTY3","avatar_url":"https://avatars0.githubusercontent.com/u/15247167?v=4","gravatar_id":"","url":"https://api.github.com/users/YuBil","html_url":"https://github.com/YuBil","followers_url":"https://api.github.com/users/YuBil/followers","following_url":"https://api.github.com/users/YuBil/following{/other_user}","gists_url":"https://api.github.com/users/YuBil/gists{/gist_id}","starred_url":"https://api.github.com/users/YuBil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuBil/subscriptions","organizations_url":"https://api.github.com/users/YuBil/orgs","repos_url":"https://api.github.com/users/YuBil/repos","events_url":"https://api.github.com/users/YuBil/events{/privacy}","received_events_url":"https://api.github.com/users/YuBil/received_events","type":"User","site_admin":false},"repo":{"id":131414926,"node_id":"MDEwOlJlcG9zaXRvcnkxMzE0MTQ5MjY=","name":"course","full_name":"YuBil/course","owner":{"login":"YuBil","id":15247167,"node_id":"MDQ6VXNlcjE1MjQ3MTY3","avatar_url":"https://avatars0.githubusercontent.com/u/15247167?v=4","gravatar_id":"","url":"https://api.github.com/users/YuBil","html_url":"https://github.com/YuBil","followers_url":"https://api.github.com/users/YuBil/followers","following_url":"https://api.github.com/users/YuBil/following{/other_user}","gists_url":"https://api.github.com/users/YuBil/gists{/gist_id}","starred_url":"https://api.github.com/users/YuBil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuBil/subscriptions","organizations_url":"https://api.github.com/users/YuBil/orgs","repos_url":"https://api.github.com/users/YuBil/repos","events_url":"https://api.github.com/users/YuBil/events{/privacy}","received_events_url":"https://api.github.com/users/YuBil/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/YuBil/course","description":null,"fork":true,"url":"https://api.github.com/repos/YuBil/course","forks_url":"https://api.github.com/repos/YuBil/course/forks","keys_url":"https://api.github.com/repos/YuBil/course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/YuBil/course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/YuBil/course/teams","hooks_url":"https://api.github.com/repos/YuBil/course/hooks","issue_events_url":"https://api.github.com/repos/YuBil/course/issues/events{/number}","events_url":"https://api.github.com/repos/YuBil/course/events","assignees_url":"https://api.github.com/repos/YuBil/course/assignees{/user}","branches_url":"https://api.github.com/repos/YuBil/course/branches{/branch}","tags_url":"https://api.github.com/repos/YuBil/course/tags","blobs_url":"https://api.github.com/repos/YuBil/course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/YuBil/course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/YuBil/course/git/refs{/sha}","trees_url":"https://api.github.com/repos/YuBil/course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/YuBil/course/statuses/{sha}","languages_url":"https://api.github.com/repos/YuBil/course/languages","stargazers_url":"https://api.github.com/repos/YuBil/course/stargazers","contributors_url":"https://api.github.com/repos/YuBil/course/contributors","subscribers_url":"https://api.github.com/repos/YuBil/course/subscribers","subscription_url":"https://api.github.com/repos/YuBil/course/subscription","commits_url":"https://api.github.com/repos/YuBil/course/commits{/sha}","git_commits_url":"https://api.github.com/repos/YuBil/course/git/commits{/sha}","comments_url":"https://api.github.com/repos/YuBil/course/comments{/number}","issue_comment_url":"https://api.github.com/repos/YuBil/course/issues/comments{/number}","contents_url":"https://api.github.com/repos/YuBil/course/contents/{+path}","compare_url":"https://api.github.com/repos/YuBil/course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/YuBil/course/merges","archive_url":"https://api.github.com/repos/YuBil/course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/YuBil/course/downloads","issues_url":"https://api.github.com/repos/YuBil/course/issues{/number}","pulls_url":"https://api.github.com/repos/YuBil/course/pulls{/number}","milestones_url":"https://api.github.com/repos/YuBil/course/milestones{/number}","notifications_url":"https://api.github.com/repos/YuBil/course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/YuBil/course/labels{/name}","releases_url":"https://api.github.com/repos/YuBil/course/releases{/id}","deployments_url":"https://api.github.com/repos/YuBil/course/deployments","created_at":"2018-04-28T14:08:28Z","updated_at":"2018-07-06T17:17:59Z","pushed_at":"2018-07-11T14:07:58Z","git_url":"git://github.com/YuBil/course.git","ssh_url":"git@github.com:YuBil/course.git","clone_url":"https://github.com/YuBil/course.git","svn_url":"https://github.com/YuBil/course","homepage":null,"size":9947,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"gaech:master","ref":"master","sha":"260a3f0524d504594467df046ed5791f3e393678","user":{"login":"gaech","id":122259,"node_id":"MDQ6VXNlcjEyMjI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/122259?v=4","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"repo":{"id":80828946,"node_id":"MDEwOlJlcG9zaXRvcnk4MDgyODk0Ng==","name":"course","full_name":"gaech/course","owner":{"login":"gaech","id":122259,"node_id":"MDQ6VXNlcjEyMjI1OQ==","avatar_url":"https://avatars1.githubusercontent.com/u/122259?v=4","gravatar_id":"","url":"https://api.github.com/users/gaech","html_url":"https://github.com/gaech","followers_url":"https://api.github.com/users/gaech/followers","following_url":"https://api.github.com/users/gaech/following{/other_user}","gists_url":"https://api.github.com/users/gaech/gists{/gist_id}","starred_url":"https://api.github.com/users/gaech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaech/subscriptions","organizations_url":"https://api.github.com/users/gaech/orgs","repos_url":"https://api.github.com/users/gaech/repos","events_url":"https://api.github.com/users/gaech/events{/privacy}","received_events_url":"https://api.github.com/users/gaech/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gaech/course","description":null,"fork":false,"url":"https://api.github.com/repos/gaech/course","forks_url":"https://api.github.com/repos/gaech/course/forks","keys_url":"https://api.github.com/repos/gaech/course/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gaech/course/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gaech/course/teams","hooks_url":"https://api.github.com/repos/gaech/course/hooks","issue_events_url":"https://api.github.com/repos/gaech/course/issues/events{/number}","events_url":"https://api.github.com/repos/gaech/course/events","assignees_url":"https://api.github.com/repos/gaech/course/assignees{/user}","branches_url":"https://api.github.com/repos/gaech/course/branches{/branch}","tags_url":"https://api.github.com/repos/gaech/course/tags","blobs_url":"https://api.github.com/repos/gaech/course/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gaech/course/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gaech/course/git/refs{/sha}","trees_url":"https://api.github.com/repos/gaech/course/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gaech/course/statuses/{sha}","languages_url":"https://api.github.com/repos/gaech/course/languages","stargazers_url":"https://api.github.com/repos/gaech/course/stargazers","contributors_url":"https://api.github.com/repos/gaech/course/contributors","subscribers_url":"https://api.github.com/repos/gaech/course/subscribers","subscription_url":"https://api.github.com/repos/gaech/course/subscription","commits_url":"https://api.github.com/repos/gaech/course/commits{/sha}","git_commits_url":"https://api.github.com/repos/gaech/course/git/commits{/sha}","comments_url":"https://api.github.com/repos/gaech/course/comments{/number}","issue_comment_url":"https://api.github.com/repos/gaech/course/issues/comments{/number}","contents_url":"https://api.github.com/repos/gaech/course/contents/{+path}","compare_url":"https://api.github.com/repos/gaech/course/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gaech/course/merges","archive_url":"https://api.github.com/repos/gaech/course/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gaech/course/downloads","issues_url":"https://api.github.com/repos/gaech/course/issues{/number}","pulls_url":"https://api.github.com/repos/gaech/course/pulls{/number}","milestones_url":"https://api.github.com/repos/gaech/course/milestones{/number}","notifications_url":"https://api.github.com/repos/gaech/course/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gaech/course/labels{/name}","releases_url":"https://api.github.com/repos/gaech/course/releases{/id}","deployments_url":"https://api.github.com/repos/gaech/course/deployments","created_at":"2017-02-03T12:55:02Z","updated_at":"2018-07-11T16:33:33Z","pushed_at":"2018-07-11T16:33:29Z","git_url":"git://github.com/gaech/course.git","ssh_url":"git@github.com:gaech/course.git","clone_url":"https://github.com/gaech/course.git","svn_url":"https://github.com/gaech/course","homepage":null,"size":9497,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"archived":false,"open_issues_count":12,"license":null,"forks":13,"open_issues":12,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gaech/course/pulls/221"},"html":{"href":"https://github.com/gaech/course/pull/221"},"issue":{"href":"https://api.github.com/repos/gaech/course/issues/221"},"comments":{"href":"https://api.github.com/repos/gaech/course/issues/221/comments"},"review_comments":{"href":"https://api.github.com/repos/gaech/course/pulls/221/comments"},"review_comment":{"href":"https://api.github.com/repos/gaech/course/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gaech/course/pulls/221/commits"},"statuses":{"href":"https://api.github.com/repos/gaech/course/statuses/845bb4cbc498d31d215c0cad64e1797437f2e77a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"gaech"}}