{"action":"created","comment":{"url":"https://api.github.com/repos/Senneer/git-test/pulls/comments/214636228","pull_request_review_id":151733686,"id":214636228,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxNDYzNjIyOA==","diff_hunk":"@@ -0,0 +1,41 @@\n+const Animal = {\n+  type: 'mammals',\n+  skinCovering: function() { \n+    console.log('hairy');\n+  }\n+};\n+\n+const animal1 = Object.create(Animal);\n+console.log(animal1.type);\n+animal1.skinCovering(); \n+\n+const fish = Object.create(Animal);\n+fish.type = 'Fishes';\n+console.log(fish.type);\n+console.log(Animal.type);\n+\n+\n+\n+const obj={\n+\tb : 6,\n+\ta : 5,\n+}\n+\n+function vah(obj, key){\n+\treturn obj[key] * 3;\n+}\n+\n+console.log(vah(obj, 'b'));\n+\n+\n+\n+\n+function MyObject(id, name){\n+\tthis._id = id;\n+    this._name = name;\n+} \n+\n+var MyFirstObjectInstance = new MyObject(5,\"Sample\");\n+var MySecondObjectInstace = new MyObject(12,\"Othe Sample\"); ","path":"obj.js","position":39,"original_position":39,"commit_id":"2cfd866d5cb7b023cfab6f22070f92794638d318","original_commit_id":"2cfd866d5cb7b023cfab6f22070f92794638d318","user":{"login":"RayProud","id":7085287,"node_id":"MDQ6VXNlcjcwODUyODc=","avatar_url":"https://avatars0.githubusercontent.com/u/7085287?v=4","gravatar_id":"","url":"https://api.github.com/users/RayProud","html_url":"https://github.com/RayProud","followers_url":"https://api.github.com/users/RayProud/followers","following_url":"https://api.github.com/users/RayProud/following{/other_user}","gists_url":"https://api.github.com/users/RayProud/gists{/gist_id}","starred_url":"https://api.github.com/users/RayProud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RayProud/subscriptions","organizations_url":"https://api.github.com/users/RayProud/orgs","repos_url":"https://api.github.com/users/RayProud/repos","events_url":"https://api.github.com/users/RayProud/events{/privacy}","received_events_url":"https://api.github.com/users/RayProud/received_events","type":"User","site_admin":false},"body":"Стиль кода \r\nhttp://learn.javascript.ru/coding-style — можно не упарываться и не смотреть внутренние ссылки​\r\nhttps://github.com/chaptykov/codestyle — кроме того, как ставится закрывающая фигурная скобка в CSS в примере 2.4","created_at":"2018-09-03T10:01:18Z","updated_at":"2018-09-03T10:01:18Z","html_url":"https://github.com/Senneer/git-test/pull/2#discussion_r214636228","pull_request_url":"https://api.github.com/repos/Senneer/git-test/pulls/2","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/comments/214636228"},"html":{"href":"https://github.com/Senneer/git-test/pull/2#discussion_r214636228"},"pull_request":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/2"}}},"pull_request":{"url":"https://api.github.com/repos/Senneer/git-test/pulls/2","id":211954139,"node_id":"MDExOlB1bGxSZXF1ZXN0MjExOTU0MTM5","html_url":"https://github.com/Senneer/git-test/pull/2","diff_url":"https://github.com/Senneer/git-test/pull/2.diff","patch_url":"https://github.com/Senneer/git-test/pull/2.patch","issue_url":"https://api.github.com/repos/Senneer/git-test/issues/2","number":2,"state":"open","locked":false,"title":"Object","user":{"login":"NinaSekret","id":15649821,"node_id":"MDQ6VXNlcjE1NjQ5ODIx","avatar_url":"https://avatars1.githubusercontent.com/u/15649821?v=4","gravatar_id":"","url":"https://api.github.com/users/NinaSekret","html_url":"https://github.com/NinaSekret","followers_url":"https://api.github.com/users/NinaSekret/followers","following_url":"https://api.github.com/users/NinaSekret/following{/other_user}","gists_url":"https://api.github.com/users/NinaSekret/gists{/gist_id}","starred_url":"https://api.github.com/users/NinaSekret/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NinaSekret/subscriptions","organizations_url":"https://api.github.com/users/NinaSekret/orgs","repos_url":"https://api.github.com/users/NinaSekret/repos","events_url":"https://api.github.com/users/NinaSekret/events{/privacy}","received_events_url":"https://api.github.com/users/NinaSekret/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-08-30T04:44:35Z","updated_at":"2018-09-03T10:01:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"801d742a7fee6c3352df6c325278af8d2d13ebe8","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/Senneer/git-test/pulls/2/commits","review_comments_url":"https://api.github.com/repos/Senneer/git-test/pulls/2/comments","review_comment_url":"https://api.github.com/repos/Senneer/git-test/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Senneer/git-test/issues/2/comments","statuses_url":"https://api.github.com/repos/Senneer/git-test/statuses/2cfd866d5cb7b023cfab6f22070f92794638d318","head":{"label":"Senneer:object","ref":"object","sha":"2cfd866d5cb7b023cfab6f22070f92794638d318","user":{"login":"Senneer","id":17309890,"node_id":"MDQ6VXNlcjE3MzA5ODkw","avatar_url":"https://avatars3.githubusercontent.com/u/17309890?v=4","gravatar_id":"","url":"https://api.github.com/users/Senneer","html_url":"https://github.com/Senneer","followers_url":"https://api.github.com/users/Senneer/followers","following_url":"https://api.github.com/users/Senneer/following{/other_user}","gists_url":"https://api.github.com/users/Senneer/gists{/gist_id}","starred_url":"https://api.github.com/users/Senneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senneer/subscriptions","organizations_url":"https://api.github.com/users/Senneer/orgs","repos_url":"https://api.github.com/users/Senneer/repos","events_url":"https://api.github.com/users/Senneer/events{/privacy}","received_events_url":"https://api.github.com/users/Senneer/received_events","type":"User","site_admin":false},"repo":{"id":146165744,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYxNjU3NDQ=","name":"git-test","full_name":"Senneer/git-test","owner":{"login":"Senneer","id":17309890,"node_id":"MDQ6VXNlcjE3MzA5ODkw","avatar_url":"https://avatars3.githubusercontent.com/u/17309890?v=4","gravatar_id":"","url":"https://api.github.com/users/Senneer","html_url":"https://github.com/Senneer","followers_url":"https://api.github.com/users/Senneer/followers","following_url":"https://api.github.com/users/Senneer/following{/other_user}","gists_url":"https://api.github.com/users/Senneer/gists{/gist_id}","starred_url":"https://api.github.com/users/Senneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senneer/subscriptions","organizations_url":"https://api.github.com/users/Senneer/orgs","repos_url":"https://api.github.com/users/Senneer/repos","events_url":"https://api.github.com/users/Senneer/events{/privacy}","received_events_url":"https://api.github.com/users/Senneer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Senneer/git-test","description":null,"fork":false,"url":"https://api.github.com/repos/Senneer/git-test","forks_url":"https://api.github.com/repos/Senneer/git-test/forks","keys_url":"https://api.github.com/repos/Senneer/git-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Senneer/git-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Senneer/git-test/teams","hooks_url":"https://api.github.com/repos/Senneer/git-test/hooks","issue_events_url":"https://api.github.com/repos/Senneer/git-test/issues/events{/number}","events_url":"https://api.github.com/repos/Senneer/git-test/events","assignees_url":"https://api.github.com/repos/Senneer/git-test/assignees{/user}","branches_url":"https://api.github.com/repos/Senneer/git-test/branches{/branch}","tags_url":"https://api.github.com/repos/Senneer/git-test/tags","blobs_url":"https://api.github.com/repos/Senneer/git-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Senneer/git-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Senneer/git-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Senneer/git-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Senneer/git-test/statuses/{sha}","languages_url":"https://api.github.com/repos/Senneer/git-test/languages","stargazers_url":"https://api.github.com/repos/Senneer/git-test/stargazers","contributors_url":"https://api.github.com/repos/Senneer/git-test/contributors","subscribers_url":"https://api.github.com/repos/Senneer/git-test/subscribers","subscription_url":"https://api.github.com/repos/Senneer/git-test/subscription","commits_url":"https://api.github.com/repos/Senneer/git-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Senneer/git-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Senneer/git-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Senneer/git-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Senneer/git-test/contents/{+path}","compare_url":"https://api.github.com/repos/Senneer/git-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Senneer/git-test/merges","archive_url":"https://api.github.com/repos/Senneer/git-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Senneer/git-test/downloads","issues_url":"https://api.github.com/repos/Senneer/git-test/issues{/number}","pulls_url":"https://api.github.com/repos/Senneer/git-test/pulls{/number}","milestones_url":"https://api.github.com/repos/Senneer/git-test/milestones{/number}","notifications_url":"https://api.github.com/repos/Senneer/git-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Senneer/git-test/labels{/name}","releases_url":"https://api.github.com/repos/Senneer/git-test/releases{/id}","deployments_url":"https://api.github.com/repos/Senneer/git-test/deployments","created_at":"2018-08-26T08:54:54Z","updated_at":"2018-09-02T13:34:21Z","pushed_at":"2018-09-02T18:02:01Z","git_url":"git://github.com/Senneer/git-test.git","ssh_url":"git@github.com:Senneer/git-test.git","clone_url":"https://github.com/Senneer/git-test.git","svn_url":"https://github.com/Senneer/git-test","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"base":{"label":"Senneer:master","ref":"master","sha":"3fb3dfb9cf3efe1f54dc55e24b72301fddd53d41","user":{"login":"Senneer","id":17309890,"node_id":"MDQ6VXNlcjE3MzA5ODkw","avatar_url":"https://avatars3.githubusercontent.com/u/17309890?v=4","gravatar_id":"","url":"https://api.github.com/users/Senneer","html_url":"https://github.com/Senneer","followers_url":"https://api.github.com/users/Senneer/followers","following_url":"https://api.github.com/users/Senneer/following{/other_user}","gists_url":"https://api.github.com/users/Senneer/gists{/gist_id}","starred_url":"https://api.github.com/users/Senneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senneer/subscriptions","organizations_url":"https://api.github.com/users/Senneer/orgs","repos_url":"https://api.github.com/users/Senneer/repos","events_url":"https://api.github.com/users/Senneer/events{/privacy}","received_events_url":"https://api.github.com/users/Senneer/received_events","type":"User","site_admin":false},"repo":{"id":146165744,"node_id":"MDEwOlJlcG9zaXRvcnkxNDYxNjU3NDQ=","name":"git-test","full_name":"Senneer/git-test","owner":{"login":"Senneer","id":17309890,"node_id":"MDQ6VXNlcjE3MzA5ODkw","avatar_url":"https://avatars3.githubusercontent.com/u/17309890?v=4","gravatar_id":"","url":"https://api.github.com/users/Senneer","html_url":"https://github.com/Senneer","followers_url":"https://api.github.com/users/Senneer/followers","following_url":"https://api.github.com/users/Senneer/following{/other_user}","gists_url":"https://api.github.com/users/Senneer/gists{/gist_id}","starred_url":"https://api.github.com/users/Senneer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Senneer/subscriptions","organizations_url":"https://api.github.com/users/Senneer/orgs","repos_url":"https://api.github.com/users/Senneer/repos","events_url":"https://api.github.com/users/Senneer/events{/privacy}","received_events_url":"https://api.github.com/users/Senneer/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Senneer/git-test","description":null,"fork":false,"url":"https://api.github.com/repos/Senneer/git-test","forks_url":"https://api.github.com/repos/Senneer/git-test/forks","keys_url":"https://api.github.com/repos/Senneer/git-test/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Senneer/git-test/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Senneer/git-test/teams","hooks_url":"https://api.github.com/repos/Senneer/git-test/hooks","issue_events_url":"https://api.github.com/repos/Senneer/git-test/issues/events{/number}","events_url":"https://api.github.com/repos/Senneer/git-test/events","assignees_url":"https://api.github.com/repos/Senneer/git-test/assignees{/user}","branches_url":"https://api.github.com/repos/Senneer/git-test/branches{/branch}","tags_url":"https://api.github.com/repos/Senneer/git-test/tags","blobs_url":"https://api.github.com/repos/Senneer/git-test/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Senneer/git-test/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Senneer/git-test/git/refs{/sha}","trees_url":"https://api.github.com/repos/Senneer/git-test/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Senneer/git-test/statuses/{sha}","languages_url":"https://api.github.com/repos/Senneer/git-test/languages","stargazers_url":"https://api.github.com/repos/Senneer/git-test/stargazers","contributors_url":"https://api.github.com/repos/Senneer/git-test/contributors","subscribers_url":"https://api.github.com/repos/Senneer/git-test/subscribers","subscription_url":"https://api.github.com/repos/Senneer/git-test/subscription","commits_url":"https://api.github.com/repos/Senneer/git-test/commits{/sha}","git_commits_url":"https://api.github.com/repos/Senneer/git-test/git/commits{/sha}","comments_url":"https://api.github.com/repos/Senneer/git-test/comments{/number}","issue_comment_url":"https://api.github.com/repos/Senneer/git-test/issues/comments{/number}","contents_url":"https://api.github.com/repos/Senneer/git-test/contents/{+path}","compare_url":"https://api.github.com/repos/Senneer/git-test/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Senneer/git-test/merges","archive_url":"https://api.github.com/repos/Senneer/git-test/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Senneer/git-test/downloads","issues_url":"https://api.github.com/repos/Senneer/git-test/issues{/number}","pulls_url":"https://api.github.com/repos/Senneer/git-test/pulls{/number}","milestones_url":"https://api.github.com/repos/Senneer/git-test/milestones{/number}","notifications_url":"https://api.github.com/repos/Senneer/git-test/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Senneer/git-test/labels{/name}","releases_url":"https://api.github.com/repos/Senneer/git-test/releases{/id}","deployments_url":"https://api.github.com/repos/Senneer/git-test/deployments","created_at":"2018-08-26T08:54:54Z","updated_at":"2018-09-02T13:34:21Z","pushed_at":"2018-09-02T18:02:01Z","git_url":"git://github.com/Senneer/git-test.git","ssh_url":"git@github.com:Senneer/git-test.git","clone_url":"https://github.com/Senneer/git-test.git","svn_url":"https://github.com/Senneer/git-test","homepage":null,"size":8,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":2,"license":null,"forks":0,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/2"},"html":{"href":"https://github.com/Senneer/git-test/pull/2"},"issue":{"href":"https://api.github.com/repos/Senneer/git-test/issues/2"},"comments":{"href":"https://api.github.com/repos/Senneer/git-test/issues/2/comments"},"review_comments":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/2/comments"},"review_comment":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Senneer/git-test/pulls/2/commits"},"statuses":{"href":"https://api.github.com/repos/Senneer/git-test/statuses/2cfd866d5cb7b023cfab6f22070f92794638d318"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"RayProud"}}