{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/comments/41091625","id":41091625,"diff_hunk":"@@ -0,0 +1,114 @@\n+<!DOCTYPE html>\n+<html>\n+<head>\n+<script>\n+function setTime() {\n+    var time = new Date();  \n+\tvar h = time.getHours();\n+\tvar c1 = \"\";\n+\tvar c2 = \"\";\n+\tvar m = time.getMinutes();\n+\tvar s = time.getSeconds();\n+\tfunction rimNomberSecond(i){\n+\tswitch (i%10){\n+\tcase 1:\n+\treturn c2=\"I\";\n+\tbreak;\n+\tcase 2:\n+\treturn c2=\"II\";\n+\tbreak;\n+\tcase 3:\n+\treturn c2=\"III\";\n+\tbreak;\n+\tcase 4:\n+\treturn c2=\"IV\";\n+\tbreak;\n+\tcase 5:\n+\treturn c2=\"V\";\n+\tbreak;\n+\tcase 6:\n+\treturn c2=\"VI\";\n+\tbreak;\n+\tcase 7:\n+\treturn c2=\"VII\";\n+\tbreak;\n+\tcase 8:\n+\treturn c2=\"VIII\";\n+\tbreak;\n+\tcase 9:\n+\treturn c2=\"IX\";\n+\tbreak;\n+\tcase 0:\n+\treturn c2=\"\";\n+\tbreak;\n+\t}\n+\t}\n+\tfunction rimNomberFirst(i){\n+\tswitch ((i - (i%10))/10){\n+\tcase 1:\n+\treturn c1=\"X\";\n+\tbreak;\n+\tcase 2:\n+\treturn c1=\"XX\";\n+\tbreak;\n+\tcase 3:\n+\treturn c1=\"XXX\";\n+\tbreak;\n+\tcase 4:\n+\treturn c1=\"XL\";\n+\tbreak;\n+\tcase 5:\n+\treturn c1=\"L\";\n+\tbreak;\n+\tcase 6:\n+\treturn c1=\"LX\";\n+\tbreak;\n+\tcase 0:\n+\treturn c1=\"\";\n+\tbreak;\n+\t}\n+\t}\n+\tfunction rimNomberHour(i){\n+\tif (i == 0){\n+\treturn c1 = \"XXIV\"}\n+\telse{\n+\tswitch ((i - (i%10))/10){\n+\tcase 1:\n+\treturn c1=\"X\";\n+\tbreak;\n+\tcase 2:\n+\treturn c1=\"XX\";\n+\tbreak;\n+\tcase 3:\n+\treturn c1=\"XXX\";\n+\tbreak;\n+\tcase 4:\n+\treturn c1=\"XL\";\n+\tbreak;\n+\tcase 5:\n+\treturn c1=\"L\";\n+\tbreak;\n+\tcase 6:\n+\treturn c1=\"LX\";\n+\tbreak;\n+\tcase 0:\n+\treturn c1=\"\";\n+\tbreak;\n+\t}\n+\t}\n+\t}\n+\t\n+\t\n+    document.getElementById('txt').innerHTML =","path":"roman-time.html","position":102,"original_position":102,"commit_id":"04823c15c2fd46b44a58c05b521e1bcbc59ef169","original_commit_id":"04823c15c2fd46b44a58c05b521e1bcbc59ef169","user":{"login":"mangin","id":7918881,"avatar_url":"https://avatars.githubusercontent.com/u/7918881?v=3","gravatar_id":"","url":"https://api.github.com/users/mangin","html_url":"https://github.com/mangin","followers_url":"https://api.github.com/users/mangin/followers","following_url":"https://api.github.com/users/mangin/following{/other_user}","gists_url":"https://api.github.com/users/mangin/gists{/gist_id}","starred_url":"https://api.github.com/users/mangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangin/subscriptions","organizations_url":"https://api.github.com/users/mangin/orgs","repos_url":"https://api.github.com/users/mangin/repos","events_url":"https://api.github.com/users/mangin/events{/privacy}","received_events_url":"https://api.github.com/users/mangin/received_events","type":"User","site_admin":false},"body":"вы будете каждый раз искать домэлемент - это плохо.\r\nЛучше его один раз найти а затем им пользоваться","created_at":"2015-10-03T21:12:43Z","updated_at":"2015-10-03T21:12:43Z","html_url":"https://github.com/urfu-2015/javascript-tasks-1/pull/26#discussion_r41091625","pull_request_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/comments/41091625"},"html":{"href":"https://github.com/urfu-2015/javascript-tasks-1/pull/26#discussion_r41091625"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26","id":46678260,"html_url":"https://github.com/urfu-2015/javascript-tasks-1/pull/26","diff_url":"https://github.com/urfu-2015/javascript-tasks-1/pull/26.diff","patch_url":"https://github.com/urfu-2015/javascript-tasks-1/pull/26.patch","issue_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/26","number":26,"state":"open","locked":false,"title":"Зверев Даниил","user":{"login":"Bizilizi","id":14946395,"avatar_url":"https://avatars.githubusercontent.com/u/14946395?v=3","gravatar_id":"","url":"https://api.github.com/users/Bizilizi","html_url":"https://github.com/Bizilizi","followers_url":"https://api.github.com/users/Bizilizi/followers","following_url":"https://api.github.com/users/Bizilizi/following{/other_user}","gists_url":"https://api.github.com/users/Bizilizi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bizilizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bizilizi/subscriptions","organizations_url":"https://api.github.com/users/Bizilizi/orgs","repos_url":"https://api.github.com/users/Bizilizi/repos","events_url":"https://api.github.com/users/Bizilizi/events{/privacy}","received_events_url":"https://api.github.com/users/Bizilizi/received_events","type":"User","site_admin":false},"body":"Установил Node ,но у меня какие то проблемы с консолью(моментально сворачивается),решил забить и не разбираться. Именно поэтому сделал это задание в htlml. Надеюсь так можно, если нет ,то могу покопаться и решить проблемы. Ах да, я сделал часы, а не простой перевод времени по запросу. Надеюсь это не возбраняется. Прошу извинения за то что исказил задание и по факту выполнил совсем не то задание. Просто нынешний вариант показался мне чуточку интереснее.","created_at":"2015-10-02T20:25:09Z","updated_at":"2015-10-03T21:12:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cb90f3905f1991efb0c491e66fbc22529c2f4b9","assignee":{"login":"mangin","id":7918881,"avatar_url":"https://avatars.githubusercontent.com/u/7918881?v=3","gravatar_id":"","url":"https://api.github.com/users/mangin","html_url":"https://github.com/mangin","followers_url":"https://api.github.com/users/mangin/followers","following_url":"https://api.github.com/users/mangin/following{/other_user}","gists_url":"https://api.github.com/users/mangin/gists{/gist_id}","starred_url":"https://api.github.com/users/mangin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mangin/subscriptions","organizations_url":"https://api.github.com/users/mangin/orgs","repos_url":"https://api.github.com/users/mangin/repos","events_url":"https://api.github.com/users/mangin/events{/privacy}","received_events_url":"https://api.github.com/users/mangin/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26/comments","review_comment_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/26/comments","statuses_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/statuses/04823c15c2fd46b44a58c05b521e1bcbc59ef169","head":{"label":"Bizilizi:master","ref":"master","sha":"04823c15c2fd46b44a58c05b521e1bcbc59ef169","user":{"login":"Bizilizi","id":14946395,"avatar_url":"https://avatars.githubusercontent.com/u/14946395?v=3","gravatar_id":"","url":"https://api.github.com/users/Bizilizi","html_url":"https://github.com/Bizilizi","followers_url":"https://api.github.com/users/Bizilizi/followers","following_url":"https://api.github.com/users/Bizilizi/following{/other_user}","gists_url":"https://api.github.com/users/Bizilizi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bizilizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bizilizi/subscriptions","organizations_url":"https://api.github.com/users/Bizilizi/orgs","repos_url":"https://api.github.com/users/Bizilizi/repos","events_url":"https://api.github.com/users/Bizilizi/events{/privacy}","received_events_url":"https://api.github.com/users/Bizilizi/received_events","type":"User","site_admin":false},"repo":{"id":43574168,"name":"javascript-tasks-1","full_name":"Bizilizi/javascript-tasks-1","owner":{"login":"Bizilizi","id":14946395,"avatar_url":"https://avatars.githubusercontent.com/u/14946395?v=3","gravatar_id":"","url":"https://api.github.com/users/Bizilizi","html_url":"https://github.com/Bizilizi","followers_url":"https://api.github.com/users/Bizilizi/followers","following_url":"https://api.github.com/users/Bizilizi/following{/other_user}","gists_url":"https://api.github.com/users/Bizilizi/gists{/gist_id}","starred_url":"https://api.github.com/users/Bizilizi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Bizilizi/subscriptions","organizations_url":"https://api.github.com/users/Bizilizi/orgs","repos_url":"https://api.github.com/users/Bizilizi/repos","events_url":"https://api.github.com/users/Bizilizi/events{/privacy}","received_events_url":"https://api.github.com/users/Bizilizi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Bizilizi/javascript-tasks-1","description":"Задача к лекции «Введение в Javascript»","fork":true,"url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1","forks_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/forks","keys_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/teams","hooks_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/hooks","issue_events_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/issues/events{/number}","events_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/events","assignees_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/assignees{/user}","branches_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/branches{/branch}","tags_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/tags","blobs_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/statuses/{sha}","languages_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/languages","stargazers_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/stargazers","contributors_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/contributors","subscribers_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/subscribers","subscription_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/subscription","commits_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/contents/{+path}","compare_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/merges","archive_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/downloads","issues_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/issues{/number}","pulls_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/pulls{/number}","milestones_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/milestones{/number}","notifications_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/labels{/name}","releases_url":"https://api.github.com/repos/Bizilizi/javascript-tasks-1/releases{/id}","created_at":"2015-10-02T20:13:51Z","updated_at":"2015-10-02T20:23:57Z","pushed_at":"2015-10-02T20:23:57Z","git_url":"git://github.com/Bizilizi/javascript-tasks-1.git","ssh_url":"git@github.com:Bizilizi/javascript-tasks-1.git","clone_url":"https://github.com/Bizilizi/javascript-tasks-1.git","svn_url":"https://github.com/Bizilizi/javascript-tasks-1","homepage":null,"size":1141,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"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":"urfu-2015:master","ref":"master","sha":"9f95181b7277c6920aac2370301d07fc7cbc4080","user":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"repo":{"id":43342589,"name":"javascript-tasks-1","full_name":"urfu-2015/javascript-tasks-1","owner":{"login":"urfu-2015","id":14800971,"avatar_url":"https://avatars.githubusercontent.com/u/14800971?v=3","gravatar_id":"","url":"https://api.github.com/users/urfu-2015","html_url":"https://github.com/urfu-2015","followers_url":"https://api.github.com/users/urfu-2015/followers","following_url":"https://api.github.com/users/urfu-2015/following{/other_user}","gists_url":"https://api.github.com/users/urfu-2015/gists{/gist_id}","starred_url":"https://api.github.com/users/urfu-2015/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/urfu-2015/subscriptions","organizations_url":"https://api.github.com/users/urfu-2015/orgs","repos_url":"https://api.github.com/users/urfu-2015/repos","events_url":"https://api.github.com/users/urfu-2015/events{/privacy}","received_events_url":"https://api.github.com/users/urfu-2015/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/urfu-2015/javascript-tasks-1","description":"Задача к лекции «Введение в Javascript»","fork":false,"url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1","forks_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/forks","keys_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/teams","hooks_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/hooks","issue_events_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/events","assignees_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/tags","blobs_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/languages","stargazers_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/stargazers","contributors_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/contributors","subscribers_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/subscribers","subscription_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/subscription","commits_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/merges","archive_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/downloads","issues_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/releases{/id}","created_at":"2015-09-29T03:28:09Z","updated_at":"2015-10-01T13:13:26Z","pushed_at":"2015-10-03T20:11:12Z","git_url":"git://github.com/urfu-2015/javascript-tasks-1.git","ssh_url":"git@github.com:urfu-2015/javascript-tasks-1.git","clone_url":"https://github.com/urfu-2015/javascript-tasks-1.git","svn_url":"https://github.com/urfu-2015/javascript-tasks-1","homepage":null,"size":1141,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":50,"mirror_url":null,"open_issues_count":26,"forks":50,"open_issues":26,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26"},"html":{"href":"https://github.com/urfu-2015/javascript-tasks-1/pull/26"},"issue":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/26"},"comments":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/issues/26/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/pulls/26/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/javascript-tasks-1/statuses/04823c15c2fd46b44a58c05b521e1bcbc59ef169"}}}}