{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments/59010369","id":59010369,"diff_hunk":"@@ -0,0 +1,31 @@\n+require('./main.css');\n+\n+import React from 'react';\n+import ReactDom from 'react-dom';\n+import {createStore} from 'redux';\n+\n+import Todo from '../../../client/components/todo';\n+import {getTodos} from '../../../client/actions';\n+import {todoApp} from '../../../client/reducers';\n+\n+const store = createStore(todoApp);\n+\n+function render() {\n+    ReactDom.render(\n+        <Todo store={store} />,\n+        document.getElementById('root')\n+    );\n+}\n+\n+store.subscribe(render);\n+\n+setTimeout(() => {\n+    render();\n+    fetch('/todos/all', {method: 'get'})\n+        .then(response => {\n+            return response.json();\n+        })\n+        .then(data => {\n+            store.dispatch(getTodos(data.todos));\n+        });\n+}, 500);","path":"server/bundles/main/main.js","position":31,"original_position":31,"commit_id":"4dc5de21368053fadd324d20b15c7e96c91bd60b","original_commit_id":"4dc5de21368053fadd324d20b15c7e96c91bd60b","user":{"login":"sameoldmadness","id":1537724,"avatar_url":"https://avatars.githubusercontent.com/u/1537724?v=3","gravatar_id":"","url":"https://api.github.com/users/sameoldmadness","html_url":"https://github.com/sameoldmadness","followers_url":"https://api.github.com/users/sameoldmadness/followers","following_url":"https://api.github.com/users/sameoldmadness/following{/other_user}","gists_url":"https://api.github.com/users/sameoldmadness/gists{/gist_id}","starred_url":"https://api.github.com/users/sameoldmadness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameoldmadness/subscriptions","organizations_url":"https://api.github.com/users/sameoldmadness/orgs","repos_url":"https://api.github.com/users/sameoldmadness/repos","events_url":"https://api.github.com/users/sameoldmadness/events{/privacy}","received_events_url":"https://api.github.com/users/sameoldmadness/received_events","type":"User","site_admin":false},"body":"Зачем таймаут?","created_at":"2016-04-08T11:12:20Z","updated_at":"2016-04-08T11:12:20Z","html_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/7#discussion_r59010369","pull_request_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments/59010369"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-5/pull/7#discussion_r59010369"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7","id":64586863,"html_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/7","diff_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/7.diff","patch_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/7.patch","issue_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/7","number":7,"state":"open","locked":false,"title":"Савичев Игорь","user":{"login":"Savichev-Igor","id":7279995,"avatar_url":"https://avatars.githubusercontent.com/u/7279995?v=3","gravatar_id":"","url":"https://api.github.com/users/Savichev-Igor","html_url":"https://github.com/Savichev-Igor","followers_url":"https://api.github.com/users/Savichev-Igor/followers","following_url":"https://api.github.com/users/Savichev-Igor/following{/other_user}","gists_url":"https://api.github.com/users/Savichev-Igor/gists{/gist_id}","starred_url":"https://api.github.com/users/Savichev-Igor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Savichev-Igor/subscriptions","organizations_url":"https://api.github.com/users/Savichev-Igor/orgs","repos_url":"https://api.github.com/users/Savichev-Igor/repos","events_url":"https://api.github.com/users/Savichev-Igor/events{/privacy}","received_events_url":"https://api.github.com/users/Savichev-Igor/received_events","type":"User","site_admin":false},"body":"Без звёздочки и с rebase)\r\n\r\nhttps://savi-todo-hi.herokuapp.com/","created_at":"2016-03-30T08:09:45Z","updated_at":"2016-04-08T11:12:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a474b74f0056d67edd93515b3322da3ad6df61ce","assignee":{"login":"sameoldmadness","id":1537724,"avatar_url":"https://avatars.githubusercontent.com/u/1537724?v=3","gravatar_id":"","url":"https://api.github.com/users/sameoldmadness","html_url":"https://github.com/sameoldmadness","followers_url":"https://api.github.com/users/sameoldmadness/followers","following_url":"https://api.github.com/users/sameoldmadness/following{/other_user}","gists_url":"https://api.github.com/users/sameoldmadness/gists{/gist_id}","starred_url":"https://api.github.com/users/sameoldmadness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sameoldmadness/subscriptions","organizations_url":"https://api.github.com/users/sameoldmadness/orgs","repos_url":"https://api.github.com/users/sameoldmadness/repos","events_url":"https://api.github.com/users/sameoldmadness/events{/privacy}","received_events_url":"https://api.github.com/users/sameoldmadness/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7/comments","review_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments{/number}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/7/comments","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/statuses/4dc5de21368053fadd324d20b15c7e96c91bd60b","head":{"label":"Savichev-Igor:master","ref":"master","sha":"4dc5de21368053fadd324d20b15c7e96c91bd60b","user":{"login":"Savichev-Igor","id":7279995,"avatar_url":"https://avatars.githubusercontent.com/u/7279995?v=3","gravatar_id":"","url":"https://api.github.com/users/Savichev-Igor","html_url":"https://github.com/Savichev-Igor","followers_url":"https://api.github.com/users/Savichev-Igor/followers","following_url":"https://api.github.com/users/Savichev-Igor/following{/other_user}","gists_url":"https://api.github.com/users/Savichev-Igor/gists{/gist_id}","starred_url":"https://api.github.com/users/Savichev-Igor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Savichev-Igor/subscriptions","organizations_url":"https://api.github.com/users/Savichev-Igor/orgs","repos_url":"https://api.github.com/users/Savichev-Igor/repos","events_url":"https://api.github.com/users/Savichev-Igor/events{/privacy}","received_events_url":"https://api.github.com/users/Savichev-Igor/received_events","type":"User","site_admin":false},"repo":{"id":54874145,"name":"webdev-tasks-5","full_name":"Savichev-Igor/webdev-tasks-5","owner":{"login":"Savichev-Igor","id":7279995,"avatar_url":"https://avatars.githubusercontent.com/u/7279995?v=3","gravatar_id":"","url":"https://api.github.com/users/Savichev-Igor","html_url":"https://github.com/Savichev-Igor","followers_url":"https://api.github.com/users/Savichev-Igor/followers","following_url":"https://api.github.com/users/Savichev-Igor/following{/other_user}","gists_url":"https://api.github.com/users/Savichev-Igor/gists{/gist_id}","starred_url":"https://api.github.com/users/Savichev-Igor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Savichev-Igor/subscriptions","organizations_url":"https://api.github.com/users/Savichev-Igor/orgs","repos_url":"https://api.github.com/users/Savichev-Igor/repos","events_url":"https://api.github.com/users/Savichev-Igor/events{/privacy}","received_events_url":"https://api.github.com/users/Savichev-Igor/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Savichev-Igor/webdev-tasks-5","description":"","fork":true,"url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5","forks_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/forks","keys_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/teams","hooks_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/hooks","issue_events_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/issues/events{/number}","events_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/events","assignees_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/assignees{/user}","branches_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/branches{/branch}","tags_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/tags","blobs_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/git/refs{/sha}","trees_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/statuses/{sha}","languages_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/languages","stargazers_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/stargazers","contributors_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/contributors","subscribers_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/subscribers","subscription_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/subscription","commits_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/commits{/sha}","git_commits_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/git/commits{/sha}","comments_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/comments{/number}","issue_comment_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/issues/comments{/number}","contents_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/contents/{+path}","compare_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/merges","archive_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/downloads","issues_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/issues{/number}","pulls_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/pulls{/number}","milestones_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/milestones{/number}","notifications_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/labels{/name}","releases_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/releases{/id}","deployments_url":"https://api.github.com/repos/Savichev-Igor/webdev-tasks-5/deployments","created_at":"2016-03-28T07:17:11Z","updated_at":"2016-03-30T06:44:15Z","pushed_at":"2016-04-06T19:39:45Z","git_url":"git://github.com/Savichev-Igor/webdev-tasks-5.git","ssh_url":"git@github.com:Savichev-Igor/webdev-tasks-5.git","clone_url":"https://github.com/Savichev-Igor/webdev-tasks-5.git","svn_url":"https://github.com/Savichev-Igor/webdev-tasks-5","homepage":null,"size":243,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"58860087673393c3066b98b55e3ae82f8ce6fc8e","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":54628927,"name":"webdev-tasks-5","full_name":"urfu-2015/webdev-tasks-5","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/webdev-tasks-5","description":"","fork":false,"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5","forks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/forks","keys_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/teams","hooks_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/hooks","issue_events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/events{/number}","events_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/events","assignees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/assignees{/user}","branches_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/branches{/branch}","tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/tags","blobs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/git/refs{/sha}","trees_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/statuses/{sha}","languages_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/languages","stargazers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/stargazers","contributors_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/contributors","subscribers_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/subscribers","subscription_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/subscription","commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/commits{/sha}","git_commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/git/commits{/sha}","comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/comments{/number}","issue_comment_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/comments{/number}","contents_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/contents/{+path}","compare_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/merges","archive_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/downloads","issues_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues{/number}","pulls_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls{/number}","milestones_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/milestones{/number}","notifications_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/labels{/name}","releases_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/releases{/id}","deployments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/deployments","created_at":"2016-03-24T09:05:47Z","updated_at":"2016-03-24T09:05:47Z","pushed_at":"2016-04-08T08:47:12Z","git_url":"git://github.com/urfu-2015/webdev-tasks-5.git","ssh_url":"git@github.com:urfu-2015/webdev-tasks-5.git","clone_url":"https://github.com/urfu-2015/webdev-tasks-5.git","svn_url":"https://github.com/urfu-2015/webdev-tasks-5","homepage":null,"size":2,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":33,"mirror_url":null,"open_issues_count":25,"forks":33,"open_issues":25,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-5/pull/7"},"issue":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/7"},"comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/7/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7/comments"},"review_comment":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/7/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/statuses/4dc5de21368053fadd324d20b15c7e96c91bd60b"}}}}