{"action":"created","comment":{"url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/comments/88410504","pull_request_review_id":8983449,"id":88410504,"diff_hunk":"@@ -0,0 +1,39 @@\n+function scanDOM(){\n+\tvar body = document.getElementsByTagName(\"body\")[0],\n+\t\ttags = {},\n+\t\tclasses = {},\n+\t\ttext = 0;\n+\n+\t(function fn(container){\n+\t\tfor(child of container.childNodes){\n+\t\t\t\n+\t\t\tif(child.nodeName === \"#text\"){","path":"hm4/04/main.js","position":10,"original_position":10,"commit_id":"6f0bbb69127897724020bd2a1b853bbb98dbebfe","original_commit_id":"6f0bbb69127897724020bd2a1b853bbb98dbebfe","user":{"login":"smelukov","id":6654581,"avatar_url":"https://avatars.githubusercontent.com/u/6654581?v=3","gravatar_id":"","url":"https://api.github.com/users/smelukov","html_url":"https://github.com/smelukov","followers_url":"https://api.github.com/users/smelukov/followers","following_url":"https://api.github.com/users/smelukov/following{/other_user}","gists_url":"https://api.github.com/users/smelukov/gists{/gist_id}","starred_url":"https://api.github.com/users/smelukov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smelukov/subscriptions","organizations_url":"https://api.github.com/users/smelukov/orgs","repos_url":"https://api.github.com/users/smelukov/repos","events_url":"https://api.github.com/users/smelukov/events{/privacy}","received_events_url":"https://api.github.com/users/smelukov/received_events","type":"User","site_admin":false},"body":"тип узла проверяется при помощи свойство `nodeType`\r\nмы говорили об этом на вебинаре","created_at":"2016-11-17T09:06:18Z","updated_at":"2016-11-17T09:07:48Z","html_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8#discussion_r88410504","pull_request_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8","_links":{"self":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/comments/88410504"},"html":{"href":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8#discussion_r88410504"},"pull_request":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8"}}},"pull_request":{"url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8","id":94019110,"html_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8","diff_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8.diff","patch_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8.patch","issue_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/8","number":8,"state":"open","locked":false,"title":"homework4 task4","user":{"login":"someAlinka","id":16005189,"avatar_url":"https://avatars.githubusercontent.com/u/16005189?v=3","gravatar_id":"","url":"https://api.github.com/users/someAlinka","html_url":"https://github.com/someAlinka","followers_url":"https://api.github.com/users/someAlinka/followers","following_url":"https://api.github.com/users/someAlinka/following{/other_user}","gists_url":"https://api.github.com/users/someAlinka/gists{/gist_id}","starred_url":"https://api.github.com/users/someAlinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someAlinka/subscriptions","organizations_url":"https://api.github.com/users/someAlinka/orgs","repos_url":"https://api.github.com/users/someAlinka/repos","events_url":"https://api.github.com/users/someAlinka/events{/privacy}","received_events_url":"https://api.github.com/users/someAlinka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-16T18:06:10Z","updated_at":"2016-11-17T09:07:48Z","closed_at":null,"merged_at":null,"merge_commit_sha":"dbcaec6628be25b8f8db0d02081d958a204a9210","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8/commits","review_comments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8/comments","review_comment_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/comments{/number}","comments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/8/comments","statuses_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/statuses/6f0bbb69127897724020bd2a1b853bbb98dbebfe","head":{"label":"someAlinka:hm4_4","ref":"hm4_4","sha":"6f0bbb69127897724020bd2a1b853bbb98dbebfe","user":{"login":"someAlinka","id":16005189,"avatar_url":"https://avatars.githubusercontent.com/u/16005189?v=3","gravatar_id":"","url":"https://api.github.com/users/someAlinka","html_url":"https://github.com/someAlinka","followers_url":"https://api.github.com/users/someAlinka/followers","following_url":"https://api.github.com/users/someAlinka/following{/other_user}","gists_url":"https://api.github.com/users/someAlinka/gists{/gist_id}","starred_url":"https://api.github.com/users/someAlinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someAlinka/subscriptions","organizations_url":"https://api.github.com/users/someAlinka/orgs","repos_url":"https://api.github.com/users/someAlinka/repos","events_url":"https://api.github.com/users/someAlinka/events{/privacy}","received_events_url":"https://api.github.com/users/someAlinka/received_events","type":"User","site_admin":false},"repo":{"id":73312036,"name":"someAlinkaLoftHome.github.io","full_name":"someAlinka/someAlinkaLoftHome.github.io","owner":{"login":"someAlinka","id":16005189,"avatar_url":"https://avatars.githubusercontent.com/u/16005189?v=3","gravatar_id":"","url":"https://api.github.com/users/someAlinka","html_url":"https://github.com/someAlinka","followers_url":"https://api.github.com/users/someAlinka/followers","following_url":"https://api.github.com/users/someAlinka/following{/other_user}","gists_url":"https://api.github.com/users/someAlinka/gists{/gist_id}","starred_url":"https://api.github.com/users/someAlinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someAlinka/subscriptions","organizations_url":"https://api.github.com/users/someAlinka/orgs","repos_url":"https://api.github.com/users/someAlinka/repos","events_url":"https://api.github.com/users/someAlinka/events{/privacy}","received_events_url":"https://api.github.com/users/someAlinka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io","description":null,"fork":false,"url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io","forks_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/forks","keys_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/teams","hooks_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/hooks","issue_events_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/events","assignees_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/tags","blobs_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/languages","stargazers_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/stargazers","contributors_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/contributors","subscribers_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/subscribers","subscription_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/subscription","commits_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/merges","archive_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/downloads","issues_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/labels{/name}","releases_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/deployments","created_at":"2016-11-09T18:51:46Z","updated_at":"2016-11-09T18:56:28Z","pushed_at":"2016-11-16T18:06:26Z","git_url":"git://github.com/someAlinka/someAlinkaLoftHome.github.io.git","ssh_url":"git@github.com:someAlinka/someAlinkaLoftHome.github.io.git","clone_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io.git","svn_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"base":{"label":"someAlinka:master","ref":"master","sha":"236cc0ecee9494ebc846e8123ac2cde91a8021ea","user":{"login":"someAlinka","id":16005189,"avatar_url":"https://avatars.githubusercontent.com/u/16005189?v=3","gravatar_id":"","url":"https://api.github.com/users/someAlinka","html_url":"https://github.com/someAlinka","followers_url":"https://api.github.com/users/someAlinka/followers","following_url":"https://api.github.com/users/someAlinka/following{/other_user}","gists_url":"https://api.github.com/users/someAlinka/gists{/gist_id}","starred_url":"https://api.github.com/users/someAlinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someAlinka/subscriptions","organizations_url":"https://api.github.com/users/someAlinka/orgs","repos_url":"https://api.github.com/users/someAlinka/repos","events_url":"https://api.github.com/users/someAlinka/events{/privacy}","received_events_url":"https://api.github.com/users/someAlinka/received_events","type":"User","site_admin":false},"repo":{"id":73312036,"name":"someAlinkaLoftHome.github.io","full_name":"someAlinka/someAlinkaLoftHome.github.io","owner":{"login":"someAlinka","id":16005189,"avatar_url":"https://avatars.githubusercontent.com/u/16005189?v=3","gravatar_id":"","url":"https://api.github.com/users/someAlinka","html_url":"https://github.com/someAlinka","followers_url":"https://api.github.com/users/someAlinka/followers","following_url":"https://api.github.com/users/someAlinka/following{/other_user}","gists_url":"https://api.github.com/users/someAlinka/gists{/gist_id}","starred_url":"https://api.github.com/users/someAlinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/someAlinka/subscriptions","organizations_url":"https://api.github.com/users/someAlinka/orgs","repos_url":"https://api.github.com/users/someAlinka/repos","events_url":"https://api.github.com/users/someAlinka/events{/privacy}","received_events_url":"https://api.github.com/users/someAlinka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io","description":null,"fork":false,"url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io","forks_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/forks","keys_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/keys{/key_id}","collaborators_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/teams","hooks_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/hooks","issue_events_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/events{/number}","events_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/events","assignees_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/assignees{/user}","branches_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/branches{/branch}","tags_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/tags","blobs_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/refs{/sha}","trees_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/trees{/sha}","statuses_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/statuses/{sha}","languages_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/languages","stargazers_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/stargazers","contributors_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/contributors","subscribers_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/subscribers","subscription_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/subscription","commits_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/commits{/sha}","git_commits_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/git/commits{/sha}","comments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/comments{/number}","issue_comment_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/comments{/number}","contents_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/contents/{+path}","compare_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/compare/{base}...{head}","merges_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/merges","archive_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/downloads","issues_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues{/number}","pulls_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls{/number}","milestones_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/milestones{/number}","notifications_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/labels{/name}","releases_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/releases{/id}","deployments_url":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/deployments","created_at":"2016-11-09T18:51:46Z","updated_at":"2016-11-09T18:56:28Z","pushed_at":"2016-11-16T18:06:26Z","git_url":"git://github.com/someAlinka/someAlinkaLoftHome.github.io.git","ssh_url":"git@github.com:someAlinka/someAlinkaLoftHome.github.io.git","clone_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io.git","svn_url":"https://github.com/someAlinka/someAlinkaLoftHome.github.io","homepage":null,"size":64,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":9,"forks":0,"open_issues":9,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8"},"html":{"href":"https://github.com/someAlinka/someAlinkaLoftHome.github.io/pull/8"},"issue":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/8"},"comments":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/someAlinka/someAlinkaLoftHome.github.io/statuses/6f0bbb69127897724020bd2a1b853bbb98dbebfe"}}}}
{"actor":{"display_login":"smelukov"}}