{"action":"created","comment":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments/59130009","id":59130009,"diff_hunk":"@@ -0,0 +1,46 @@\n+'use strict';\n+\n+const memoryStorage = [];\n+\n+class Note {\n+    constructor(props) {\n+        this.text = props.text;\n+        this.createdAt = props.createdAt;\n+    }\n+\n+    save() {\n+        memoryStorage.unshift(this);\n+    }\n+\n+    static find(text) {\n+        return memoryStorage.filter(note => note.text === text).pop();\n+    }\n+\n+    static findAll() {\n+        return memoryStorage;\n+    }\n+\n+    static remove(text) {\n+        memoryStorage.forEach((obj, i, memoryStorage) => {\n+            if (obj.text === text) {\n+                memoryStorage.splice(i);\n+            }\n+        });\n+    }\n+\n+    static update(oldText, newText) {\n+        memoryStorage.forEach((obj, i, memoryStorage) => {","path":"models/note.js","position":32,"original_position":32,"commit_id":"6bd9578ecad10d65adaf5f5730eefe84c6ac7c72","original_commit_id":"6bd9578ecad10d65adaf5f5730eefe84c6ac7c72","user":{"login":"VorontsovMaxim","id":14827792,"avatar_url":"https://avatars.githubusercontent.com/u/14827792?v=3","gravatar_id":"","url":"https://api.github.com/users/VorontsovMaxim","html_url":"https://github.com/VorontsovMaxim","followers_url":"https://api.github.com/users/VorontsovMaxim/followers","following_url":"https://api.github.com/users/VorontsovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/VorontsovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/VorontsovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VorontsovMaxim/subscriptions","organizations_url":"https://api.github.com/users/VorontsovMaxim/orgs","repos_url":"https://api.github.com/users/VorontsovMaxim/repos","events_url":"https://api.github.com/users/VorontsovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/VorontsovMaxim/received_events","type":"User","site_admin":false},"body":"Правильно ли я понимаю, что изменится текст у всех todo с одинаковым текстом?","created_at":"2016-04-10T08:47:36Z","updated_at":"2016-04-10T08:47:36Z","html_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/27#discussion_r59130009","pull_request_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27","_links":{"self":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/comments/59130009"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-5/pull/27#discussion_r59130009"},"pull_request":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27"}}},"pull_request":{"url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27","id":65520017,"html_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/27","diff_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/27.diff","patch_url":"https://github.com/urfu-2015/webdev-tasks-5/pull/27.patch","issue_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/27","number":27,"state":"open","locked":false,"title":"Чикурова Полина","user":{"login":"chipolinka","id":11631479,"avatar_url":"https://avatars.githubusercontent.com/u/11631479?v=3","gravatar_id":"","url":"https://api.github.com/users/chipolinka","html_url":"https://github.com/chipolinka","followers_url":"https://api.github.com/users/chipolinka/followers","following_url":"https://api.github.com/users/chipolinka/following{/other_user}","gists_url":"https://api.github.com/users/chipolinka/gists{/gist_id}","starred_url":"https://api.github.com/users/chipolinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipolinka/subscriptions","organizations_url":"https://api.github.com/users/chipolinka/orgs","repos_url":"https://api.github.com/users/chipolinka/repos","events_url":"https://api.github.com/users/chipolinka/events{/privacy}","received_events_url":"https://api.github.com/users/chipolinka/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-04-06T19:12:00Z","updated_at":"2016-04-10T08:47:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"04bc6e1c65513991eec734142d20a18aabd8ab49","assignee":{"login":"VorontsovMaxim","id":14827792,"avatar_url":"https://avatars.githubusercontent.com/u/14827792?v=3","gravatar_id":"","url":"https://api.github.com/users/VorontsovMaxim","html_url":"https://github.com/VorontsovMaxim","followers_url":"https://api.github.com/users/VorontsovMaxim/followers","following_url":"https://api.github.com/users/VorontsovMaxim/following{/other_user}","gists_url":"https://api.github.com/users/VorontsovMaxim/gists{/gist_id}","starred_url":"https://api.github.com/users/VorontsovMaxim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/VorontsovMaxim/subscriptions","organizations_url":"https://api.github.com/users/VorontsovMaxim/orgs","repos_url":"https://api.github.com/users/VorontsovMaxim/repos","events_url":"https://api.github.com/users/VorontsovMaxim/events{/privacy}","received_events_url":"https://api.github.com/users/VorontsovMaxim/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27/commits","review_comments_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27/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/27/comments","statuses_url":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/statuses/6bd9578ecad10d65adaf5f5730eefe84c6ac7c72","head":{"label":"chipolinka:master","ref":"master","sha":"6bd9578ecad10d65adaf5f5730eefe84c6ac7c72","user":{"login":"chipolinka","id":11631479,"avatar_url":"https://avatars.githubusercontent.com/u/11631479?v=3","gravatar_id":"","url":"https://api.github.com/users/chipolinka","html_url":"https://github.com/chipolinka","followers_url":"https://api.github.com/users/chipolinka/followers","following_url":"https://api.github.com/users/chipolinka/following{/other_user}","gists_url":"https://api.github.com/users/chipolinka/gists{/gist_id}","starred_url":"https://api.github.com/users/chipolinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipolinka/subscriptions","organizations_url":"https://api.github.com/users/chipolinka/orgs","repos_url":"https://api.github.com/users/chipolinka/repos","events_url":"https://api.github.com/users/chipolinka/events{/privacy}","received_events_url":"https://api.github.com/users/chipolinka/received_events","type":"User","site_admin":false},"repo":{"id":54975642,"name":"webdev-tasks-5","full_name":"chipolinka/webdev-tasks-5","owner":{"login":"chipolinka","id":11631479,"avatar_url":"https://avatars.githubusercontent.com/u/11631479?v=3","gravatar_id":"","url":"https://api.github.com/users/chipolinka","html_url":"https://github.com/chipolinka","followers_url":"https://api.github.com/users/chipolinka/followers","following_url":"https://api.github.com/users/chipolinka/following{/other_user}","gists_url":"https://api.github.com/users/chipolinka/gists{/gist_id}","starred_url":"https://api.github.com/users/chipolinka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chipolinka/subscriptions","organizations_url":"https://api.github.com/users/chipolinka/orgs","repos_url":"https://api.github.com/users/chipolinka/repos","events_url":"https://api.github.com/users/chipolinka/events{/privacy}","received_events_url":"https://api.github.com/users/chipolinka/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/chipolinka/webdev-tasks-5","description":"","fork":true,"url":"https://api.github.com/repos/chipolinka/webdev-tasks-5","forks_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/forks","keys_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/teams","hooks_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/hooks","issue_events_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/issues/events{/number}","events_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/events","assignees_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/assignees{/user}","branches_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/branches{/branch}","tags_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/tags","blobs_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/git/refs{/sha}","trees_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/statuses/{sha}","languages_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/languages","stargazers_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/stargazers","contributors_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/contributors","subscribers_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/subscribers","subscription_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/subscription","commits_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/commits{/sha}","git_commits_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/git/commits{/sha}","comments_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/comments{/number}","issue_comment_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/issues/comments{/number}","contents_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/contents/{+path}","compare_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/merges","archive_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/downloads","issues_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/issues{/number}","pulls_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/pulls{/number}","milestones_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/milestones{/number}","notifications_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/labels{/name}","releases_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/releases{/id}","deployments_url":"https://api.github.com/repos/chipolinka/webdev-tasks-5/deployments","created_at":"2016-03-29T12:55:31Z","updated_at":"2016-04-06T19:10:26Z","pushed_at":"2016-04-07T09:00:40Z","git_url":"git://github.com/chipolinka/webdev-tasks-5.git","ssh_url":"git@github.com:chipolinka/webdev-tasks-5.git","clone_url":"https://github.com/chipolinka/webdev-tasks-5.git","svn_url":"https://github.com/chipolinka/webdev-tasks-5","homepage":null,"size":296,"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-09T18:14:49Z","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/27"},"html":{"href":"https://github.com/urfu-2015/webdev-tasks-5/pull/27"},"issue":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/27"},"comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/pulls/27/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/27/commits"},"statuses":{"href":"https://api.github.com/repos/urfu-2015/webdev-tasks-5/statuses/6bd9578ecad10d65adaf5f5730eefe84c6ac7c72"}}}}