{"action":"created","comment":{"url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/comments/87975761","pull_request_review_id":8563164,"id":87975761,"diff_hunk":"@@ -0,0 +1,16 @@\n+'use strict';\n+\n+const BaseController = require('../base_controller');\n+const TodoView = require('../views/todo');\n+const TodosModel = require('../models/todos');\n+\n+\n+class TodoController extends BaseController {\n+  constructor() {\n+    super();\n+    this.todo_view = new TodoView();\n+    this.todos_models = new TodosModel(this.todo_view);","path":"js/controllers/todo.js","position":12,"original_position":12,"commit_id":"b024152d1aa1da7c7852b2d2443a18c0b33ab36f","original_commit_id":"b024152d1aa1da7c7852b2d2443a18c0b33ab36f","user":{"login":"EAndreyF","id":5030147,"avatar_url":"https://avatars.githubusercontent.com/u/5030147?v=3","gravatar_id":"","url":"https://api.github.com/users/EAndreyF","html_url":"https://github.com/EAndreyF","followers_url":"https://api.github.com/users/EAndreyF/followers","following_url":"https://api.github.com/users/EAndreyF/following{/other_user}","gists_url":"https://api.github.com/users/EAndreyF/gists{/gist_id}","starred_url":"https://api.github.com/users/EAndreyF/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/EAndreyF/subscriptions","organizations_url":"https://api.github.com/users/EAndreyF/orgs","repos_url":"https://api.github.com/users/EAndreyF/repos","events_url":"https://api.github.com/users/EAndreyF/events{/privacy}","received_events_url":"https://api.github.com/users/EAndreyF/received_events","type":"User","site_admin":false},"body":"Не в том направлении устанавливаешь связь, т.к. может быть несколько вьюх у одно модели","created_at":"2016-11-15T09:23:30Z","updated_at":"2016-11-15T09:55:36Z","html_url":"https://github.com/hse2016/todomvc-app-template/pull/6#discussion_r87975761","pull_request_url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6","_links":{"self":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/comments/87975761"},"html":{"href":"https://github.com/hse2016/todomvc-app-template/pull/6#discussion_r87975761"},"pull_request":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6","id":93716420,"html_url":"https://github.com/hse2016/todomvc-app-template/pull/6","diff_url":"https://github.com/hse2016/todomvc-app-template/pull/6.diff","patch_url":"https://github.com/hse2016/todomvc-app-template/pull/6.patch","issue_url":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/6","number":6,"state":"open","locked":false,"title":"Максим Пестряков","user":{"login":"MaximPestryakov","id":17238054,"avatar_url":"https://avatars.githubusercontent.com/u/17238054?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximPestryakov","html_url":"https://github.com/MaximPestryakov","followers_url":"https://api.github.com/users/MaximPestryakov/followers","following_url":"https://api.github.com/users/MaximPestryakov/following{/other_user}","gists_url":"https://api.github.com/users/MaximPestryakov/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximPestryakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximPestryakov/subscriptions","organizations_url":"https://api.github.com/users/MaximPestryakov/orgs","repos_url":"https://api.github.com/users/MaximPestryakov/repos","events_url":"https://api.github.com/users/MaximPestryakov/events{/privacy}","received_events_url":"https://api.github.com/users/MaximPestryakov/received_events","type":"User","site_admin":false},"body":"Что сделано:\r\n  - добавление todo\r\n  - удаление todo\r\n  - изменение todo\r\n  - отметить todo как сделанное\r\n  - отметить все todo как сделанные\r\n  - удалить все сделанные todo\r\n  - количество несделанных todo\r\n \r\nЧто не сдлеано:\r\n  - routing\r\n  - local storage","created_at":"2016-11-15T07:51:40Z","updated_at":"2016-11-15T09:55:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"642edc0572bb4daab7bf1a80a8bdd72b097e2342","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6/commits","review_comments_url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6/comments","review_comment_url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/comments{/number}","comments_url":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/6/comments","statuses_url":"https://api.github.com/repos/hse2016/todomvc-app-template/statuses/b024152d1aa1da7c7852b2d2443a18c0b33ab36f","head":{"label":"MaximPestryakov:master","ref":"master","sha":"b024152d1aa1da7c7852b2d2443a18c0b33ab36f","user":{"login":"MaximPestryakov","id":17238054,"avatar_url":"https://avatars.githubusercontent.com/u/17238054?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximPestryakov","html_url":"https://github.com/MaximPestryakov","followers_url":"https://api.github.com/users/MaximPestryakov/followers","following_url":"https://api.github.com/users/MaximPestryakov/following{/other_user}","gists_url":"https://api.github.com/users/MaximPestryakov/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximPestryakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximPestryakov/subscriptions","organizations_url":"https://api.github.com/users/MaximPestryakov/orgs","repos_url":"https://api.github.com/users/MaximPestryakov/repos","events_url":"https://api.github.com/users/MaximPestryakov/events{/privacy}","received_events_url":"https://api.github.com/users/MaximPestryakov/received_events","type":"User","site_admin":false},"repo":{"id":73209508,"name":"todomvc-app-template","full_name":"MaximPestryakov/todomvc-app-template","owner":{"login":"MaximPestryakov","id":17238054,"avatar_url":"https://avatars.githubusercontent.com/u/17238054?v=3","gravatar_id":"","url":"https://api.github.com/users/MaximPestryakov","html_url":"https://github.com/MaximPestryakov","followers_url":"https://api.github.com/users/MaximPestryakov/followers","following_url":"https://api.github.com/users/MaximPestryakov/following{/other_user}","gists_url":"https://api.github.com/users/MaximPestryakov/gists{/gist_id}","starred_url":"https://api.github.com/users/MaximPestryakov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaximPestryakov/subscriptions","organizations_url":"https://api.github.com/users/MaximPestryakov/orgs","repos_url":"https://api.github.com/users/MaximPestryakov/repos","events_url":"https://api.github.com/users/MaximPestryakov/events{/privacy}","received_events_url":"https://api.github.com/users/MaximPestryakov/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MaximPestryakov/todomvc-app-template","description":"Template used for creating TodoMVC apps","fork":true,"url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template","forks_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/forks","keys_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/teams","hooks_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/hooks","issue_events_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/issues/events{/number}","events_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/events","assignees_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/assignees{/user}","branches_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/branches{/branch}","tags_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/tags","blobs_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/statuses/{sha}","languages_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/languages","stargazers_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/stargazers","contributors_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/contributors","subscribers_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/subscribers","subscription_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/subscription","commits_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/contents/{+path}","compare_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/merges","archive_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/downloads","issues_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/issues{/number}","pulls_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/pulls{/number}","milestones_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/milestones{/number}","notifications_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/labels{/name}","releases_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/releases{/id}","deployments_url":"https://api.github.com/repos/MaximPestryakov/todomvc-app-template/deployments","created_at":"2016-11-08T17:19:08Z","updated_at":"2016-11-13T13:27:57Z","pushed_at":"2016-11-14T14:03:28Z","git_url":"git://github.com/MaximPestryakov/todomvc-app-template.git","ssh_url":"git@github.com:MaximPestryakov/todomvc-app-template.git","clone_url":"https://github.com/MaximPestryakov/todomvc-app-template.git","svn_url":"https://github.com/MaximPestryakov/todomvc-app-template","homepage":"http://todomvc.com","size":63,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"hse2016:master","ref":"master","sha":"4e71b78efa3f17ca1e3e551a2732fa91478c2c0f","user":{"login":"hse2016","id":21147595,"avatar_url":"https://avatars.githubusercontent.com/u/21147595?v=3","gravatar_id":"","url":"https://api.github.com/users/hse2016","html_url":"https://github.com/hse2016","followers_url":"https://api.github.com/users/hse2016/followers","following_url":"https://api.github.com/users/hse2016/following{/other_user}","gists_url":"https://api.github.com/users/hse2016/gists{/gist_id}","starred_url":"https://api.github.com/users/hse2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hse2016/subscriptions","organizations_url":"https://api.github.com/users/hse2016/orgs","repos_url":"https://api.github.com/users/hse2016/repos","events_url":"https://api.github.com/users/hse2016/events{/privacy}","received_events_url":"https://api.github.com/users/hse2016/received_events","type":"Organization","site_admin":false},"repo":{"id":73166716,"name":"todomvc-app-template","full_name":"hse2016/todomvc-app-template","owner":{"login":"hse2016","id":21147595,"avatar_url":"https://avatars.githubusercontent.com/u/21147595?v=3","gravatar_id":"","url":"https://api.github.com/users/hse2016","html_url":"https://github.com/hse2016","followers_url":"https://api.github.com/users/hse2016/followers","following_url":"https://api.github.com/users/hse2016/following{/other_user}","gists_url":"https://api.github.com/users/hse2016/gists{/gist_id}","starred_url":"https://api.github.com/users/hse2016/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hse2016/subscriptions","organizations_url":"https://api.github.com/users/hse2016/orgs","repos_url":"https://api.github.com/users/hse2016/repos","events_url":"https://api.github.com/users/hse2016/events{/privacy}","received_events_url":"https://api.github.com/users/hse2016/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/hse2016/todomvc-app-template","description":"Template used for creating TodoMVC apps","fork":true,"url":"https://api.github.com/repos/hse2016/todomvc-app-template","forks_url":"https://api.github.com/repos/hse2016/todomvc-app-template/forks","keys_url":"https://api.github.com/repos/hse2016/todomvc-app-template/keys{/key_id}","collaborators_url":"https://api.github.com/repos/hse2016/todomvc-app-template/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/hse2016/todomvc-app-template/teams","hooks_url":"https://api.github.com/repos/hse2016/todomvc-app-template/hooks","issue_events_url":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/events{/number}","events_url":"https://api.github.com/repos/hse2016/todomvc-app-template/events","assignees_url":"https://api.github.com/repos/hse2016/todomvc-app-template/assignees{/user}","branches_url":"https://api.github.com/repos/hse2016/todomvc-app-template/branches{/branch}","tags_url":"https://api.github.com/repos/hse2016/todomvc-app-template/tags","blobs_url":"https://api.github.com/repos/hse2016/todomvc-app-template/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/hse2016/todomvc-app-template/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/hse2016/todomvc-app-template/git/refs{/sha}","trees_url":"https://api.github.com/repos/hse2016/todomvc-app-template/git/trees{/sha}","statuses_url":"https://api.github.com/repos/hse2016/todomvc-app-template/statuses/{sha}","languages_url":"https://api.github.com/repos/hse2016/todomvc-app-template/languages","stargazers_url":"https://api.github.com/repos/hse2016/todomvc-app-template/stargazers","contributors_url":"https://api.github.com/repos/hse2016/todomvc-app-template/contributors","subscribers_url":"https://api.github.com/repos/hse2016/todomvc-app-template/subscribers","subscription_url":"https://api.github.com/repos/hse2016/todomvc-app-template/subscription","commits_url":"https://api.github.com/repos/hse2016/todomvc-app-template/commits{/sha}","git_commits_url":"https://api.github.com/repos/hse2016/todomvc-app-template/git/commits{/sha}","comments_url":"https://api.github.com/repos/hse2016/todomvc-app-template/comments{/number}","issue_comment_url":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/comments{/number}","contents_url":"https://api.github.com/repos/hse2016/todomvc-app-template/contents/{+path}","compare_url":"https://api.github.com/repos/hse2016/todomvc-app-template/compare/{base}...{head}","merges_url":"https://api.github.com/repos/hse2016/todomvc-app-template/merges","archive_url":"https://api.github.com/repos/hse2016/todomvc-app-template/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/hse2016/todomvc-app-template/downloads","issues_url":"https://api.github.com/repos/hse2016/todomvc-app-template/issues{/number}","pulls_url":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls{/number}","milestones_url":"https://api.github.com/repos/hse2016/todomvc-app-template/milestones{/number}","notifications_url":"https://api.github.com/repos/hse2016/todomvc-app-template/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/hse2016/todomvc-app-template/labels{/name}","releases_url":"https://api.github.com/repos/hse2016/todomvc-app-template/releases{/id}","deployments_url":"https://api.github.com/repos/hse2016/todomvc-app-template/deployments","created_at":"2016-11-08T08:49:09Z","updated_at":"2016-11-08T08:49:10Z","pushed_at":"2016-11-15T07:51:40Z","git_url":"git://github.com/hse2016/todomvc-app-template.git","ssh_url":"git@github.com:hse2016/todomvc-app-template.git","clone_url":"https://github.com/hse2016/todomvc-app-template.git","svn_url":"https://github.com/hse2016/todomvc-app-template","homepage":"http://todomvc.com","size":56,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":3,"forks":10,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6"},"html":{"href":"https://github.com/hse2016/todomvc-app-template/pull/6"},"issue":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/6"},"comments":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/hse2016/todomvc-app-template/statuses/b024152d1aa1da7c7852b2d2443a18c0b33ab36f"}}}}
{"actor":{"display_login":"EAndreyF"}}