{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/comments/360966685","pull_request_review_id":335965634,"id":360966685,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM2MDk2NjY4NQ==","diff_hunk":"@@ -2,19 +2,17 @@ import {data} from './mock/data.js';\n import TripInfoElement from './components/trip-info.js';\n import MenuElement from './components/site-menu.js';\n import FilterElement from './components/filter.js';\n-import SortElement from './components/sort.js';\n-import DayListElement from './components/day-list.js';\n-import DayItem from './components/day.js';\n-import EventContainer from './components/event-list.js';\n-import EventEditElement from './components/event-edit.js';\n-import EventElement from './components/event.js';\n-import {render} from './utils.js';\n-import {RenderPosition} from './utils.js';\n-import NoEventElement from './components/no-event.js';\n+import TripController from './controllers/trip-controller.js';\n+import {render} from './utils/render.js';\n+import {RenderPosition} from './utils/render.js';\n \n \n const calculationTotal = (events) => {\n   let total = 0;\n+  if (events) {","path":"src/main.js","position":20,"original_position":20,"commit_id":"14786169cdd6d848af51688fc3c5a3f11bb0356a","original_commit_id":"14786169cdd6d848af51688fc3c5a3f11bb0356a","user":{"login":"KollegOFF","id":13179502,"node_id":"MDQ6VXNlcjEzMTc5NTAy","avatar_url":"https://avatars1.githubusercontent.com/u/13179502?v=4","gravatar_id":"","url":"https://api.github.com/users/KollegOFF","html_url":"https://github.com/KollegOFF","followers_url":"https://api.github.com/users/KollegOFF/followers","following_url":"https://api.github.com/users/KollegOFF/following{/other_user}","gists_url":"https://api.github.com/users/KollegOFF/gists{/gist_id}","starred_url":"https://api.github.com/users/KollegOFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KollegOFF/subscriptions","organizations_url":"https://api.github.com/users/KollegOFF/orgs","repos_url":"https://api.github.com/users/KollegOFF/repos","events_url":"https://api.github.com/users/KollegOFF/events{/privacy}","received_events_url":"https://api.github.com/users/KollegOFF/received_events","type":"User","site_admin":false},"body":"Зачем это?","created_at":"2019-12-23T18:22:16Z","updated_at":"2019-12-23T18:22:22Z","html_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10#discussion_r360966685","pull_request_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/comments/360966685"},"html":{"href":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10#discussion_r360966685"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10","id":356028799,"node_id":"MDExOlB1bGxSZXF1ZXN0MzU2MDI4Nzk5","html_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10","diff_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10.diff","patch_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10.patch","issue_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/10","number":10,"state":"open","locked":false,"title":"Личный проект: разделяй и властвуй (Часть 1)","user":{"login":"Priest4612","id":25178669,"node_id":"MDQ6VXNlcjI1MTc4NjY5","avatar_url":"https://avatars1.githubusercontent.com/u/25178669?v=4","gravatar_id":"","url":"https://api.github.com/users/Priest4612","html_url":"https://github.com/Priest4612","followers_url":"https://api.github.com/users/Priest4612/followers","following_url":"https://api.github.com/users/Priest4612/following{/other_user}","gists_url":"https://api.github.com/users/Priest4612/gists{/gist_id}","starred_url":"https://api.github.com/users/Priest4612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Priest4612/subscriptions","organizations_url":"https://api.github.com/users/Priest4612/orgs","repos_url":"https://api.github.com/users/Priest4612/repos","events_url":"https://api.github.com/users/Priest4612/events{/privacy}","received_events_url":"https://api.github.com/users/Priest4612/received_events","type":"User","site_admin":false},"body":"\n\n---\n:mortar_board: [Личный проект: разделяй и властвуй (Часть 1)](https://up.htmlacademy.ru/ecmascript/10/user/285581/tasks/13)\n\n:boom: https://htmlacademy-ecmascript.github.io/285581-big-trip-10/10/","created_at":"2019-12-21T20:30:10Z","updated_at":"2019-12-23T18:22:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"99047982a2233fb9879f5dcce1da647a1f7134d0","assignee":{"login":"KollegOFF","id":13179502,"node_id":"MDQ6VXNlcjEzMTc5NTAy","avatar_url":"https://avatars1.githubusercontent.com/u/13179502?v=4","gravatar_id":"","url":"https://api.github.com/users/KollegOFF","html_url":"https://github.com/KollegOFF","followers_url":"https://api.github.com/users/KollegOFF/followers","following_url":"https://api.github.com/users/KollegOFF/following{/other_user}","gists_url":"https://api.github.com/users/KollegOFF/gists{/gist_id}","starred_url":"https://api.github.com/users/KollegOFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KollegOFF/subscriptions","organizations_url":"https://api.github.com/users/KollegOFF/orgs","repos_url":"https://api.github.com/users/KollegOFF/repos","events_url":"https://api.github.com/users/KollegOFF/events{/privacy}","received_events_url":"https://api.github.com/users/KollegOFF/received_events","type":"User","site_admin":false},"assignees":[{"login":"KollegOFF","id":13179502,"node_id":"MDQ6VXNlcjEzMTc5NTAy","avatar_url":"https://avatars1.githubusercontent.com/u/13179502?v=4","gravatar_id":"","url":"https://api.github.com/users/KollegOFF","html_url":"https://github.com/KollegOFF","followers_url":"https://api.github.com/users/KollegOFF/followers","following_url":"https://api.github.com/users/KollegOFF/following{/other_user}","gists_url":"https://api.github.com/users/KollegOFF/gists{/gist_id}","starred_url":"https://api.github.com/users/KollegOFF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KollegOFF/subscriptions","organizations_url":"https://api.github.com/users/KollegOFF/orgs","repos_url":"https://api.github.com/users/KollegOFF/repos","events_url":"https://api.github.com/users/KollegOFF/events{/privacy}","received_events_url":"https://api.github.com/users/KollegOFF/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/10/comments","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/statuses/14786169cdd6d848af51688fc3c5a3f11bb0356a","head":{"label":"Priest4612:module5-task1","ref":"module5-task1","sha":"14786169cdd6d848af51688fc3c5a3f11bb0356a","user":{"login":"Priest4612","id":25178669,"node_id":"MDQ6VXNlcjI1MTc4NjY5","avatar_url":"https://avatars1.githubusercontent.com/u/25178669?v=4","gravatar_id":"","url":"https://api.github.com/users/Priest4612","html_url":"https://github.com/Priest4612","followers_url":"https://api.github.com/users/Priest4612/followers","following_url":"https://api.github.com/users/Priest4612/following{/other_user}","gists_url":"https://api.github.com/users/Priest4612/gists{/gist_id}","starred_url":"https://api.github.com/users/Priest4612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Priest4612/subscriptions","organizations_url":"https://api.github.com/users/Priest4612/orgs","repos_url":"https://api.github.com/users/Priest4612/repos","events_url":"https://api.github.com/users/Priest4612/events{/privacy}","received_events_url":"https://api.github.com/users/Priest4612/received_events","type":"User","site_admin":false},"repo":{"id":222682159,"node_id":"MDEwOlJlcG9zaXRvcnkyMjI2ODIxNTk=","name":"285581-big-trip-10","full_name":"Priest4612/285581-big-trip-10","private":false,"owner":{"login":"Priest4612","id":25178669,"node_id":"MDQ6VXNlcjI1MTc4NjY5","avatar_url":"https://avatars1.githubusercontent.com/u/25178669?v=4","gravatar_id":"","url":"https://api.github.com/users/Priest4612","html_url":"https://github.com/Priest4612","followers_url":"https://api.github.com/users/Priest4612/followers","following_url":"https://api.github.com/users/Priest4612/following{/other_user}","gists_url":"https://api.github.com/users/Priest4612/gists{/gist_id}","starred_url":"https://api.github.com/users/Priest4612/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Priest4612/subscriptions","organizations_url":"https://api.github.com/users/Priest4612/orgs","repos_url":"https://api.github.com/users/Priest4612/repos","events_url":"https://api.github.com/users/Priest4612/events{/privacy}","received_events_url":"https://api.github.com/users/Priest4612/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Priest4612/285581-big-trip-10","description":"Антон Кричевцов","fork":true,"url":"https://api.github.com/repos/Priest4612/285581-big-trip-10","forks_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/forks","keys_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/teams","hooks_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/hooks","issue_events_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/issues/events{/number}","events_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/events","assignees_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/assignees{/user}","branches_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/branches{/branch}","tags_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/tags","blobs_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/git/refs{/sha}","trees_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/statuses/{sha}","languages_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/languages","stargazers_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/stargazers","contributors_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/contributors","subscribers_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/subscribers","subscription_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/subscription","commits_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/commits{/sha}","git_commits_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/git/commits{/sha}","comments_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/comments{/number}","issue_comment_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/issues/comments{/number}","contents_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/contents/{+path}","compare_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/merges","archive_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/downloads","issues_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/issues{/number}","pulls_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/pulls{/number}","milestones_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/milestones{/number}","notifications_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/labels{/name}","releases_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/releases{/id}","deployments_url":"https://api.github.com/repos/Priest4612/285581-big-trip-10/deployments","created_at":"2019-11-19T11:38:53Z","updated_at":"2019-12-15T18:09:52Z","pushed_at":"2019-12-21T20:29:26Z","git_url":"git://github.com/Priest4612/285581-big-trip-10.git","ssh_url":"git@github.com:Priest4612/285581-big-trip-10.git","clone_url":"https://github.com/Priest4612/285581-big-trip-10.git","svn_url":"https://github.com/Priest4612/285581-big-trip-10","homepage":null,"size":286,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-ecmascript:master","ref":"master","sha":"95ec2446be595b8eb692af1d007f2022b197b697","user":{"login":"htmlacademy-ecmascript","id":22890904,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODkwOTA0","avatar_url":"https://avatars2.githubusercontent.com/u/22890904?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-ecmascript","html_url":"https://github.com/htmlacademy-ecmascript","followers_url":"https://api.github.com/users/htmlacademy-ecmascript/followers","following_url":"https://api.github.com/users/htmlacademy-ecmascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-ecmascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-ecmascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-ecmascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-ecmascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-ecmascript/repos","events_url":"https://api.github.com/users/htmlacademy-ecmascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-ecmascript/received_events","type":"Organization","site_admin":false},"repo":{"id":222682020,"node_id":"MDEwOlJlcG9zaXRvcnkyMjI2ODIwMjA=","name":"285581-big-trip-10","full_name":"htmlacademy-ecmascript/285581-big-trip-10","private":false,"owner":{"login":"htmlacademy-ecmascript","id":22890904,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIyODkwOTA0","avatar_url":"https://avatars2.githubusercontent.com/u/22890904?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-ecmascript","html_url":"https://github.com/htmlacademy-ecmascript","followers_url":"https://api.github.com/users/htmlacademy-ecmascript/followers","following_url":"https://api.github.com/users/htmlacademy-ecmascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-ecmascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-ecmascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-ecmascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-ecmascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-ecmascript/repos","events_url":"https://api.github.com/users/htmlacademy-ecmascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-ecmascript/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10","description":"Антон Кричевцов","fork":false,"url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10","forks_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/forks","keys_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/teams","hooks_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/events","assignees_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/tags","blobs_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/subscription","commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/merges","archive_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/downloads","issues_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/deployments","created_at":"2019-11-19T11:38:01Z","updated_at":"2019-12-19T17:33:44Z","pushed_at":"2019-12-21T20:32:05Z","git_url":"git://github.com/htmlacademy-ecmascript/285581-big-trip-10.git","ssh_url":"git@github.com:htmlacademy-ecmascript/285581-big-trip-10.git","clone_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10.git","svn_url":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10","homepage":"https://github.com/Priest4612/285581-big-trip-10","size":327,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10"},"html":{"href":"https://github.com/htmlacademy-ecmascript/285581-big-trip-10/pull/10"},"issue":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/10"},"comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/issues/10/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/pulls/10/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-ecmascript/285581-big-trip-10/statuses/14786169cdd6d848af51688fc3c5a3f11bb0356a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"KollegOFF"}}