{"action":"created","comment":{"url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/comments/232266416","pull_request_review_id":173426718,"id":232266416,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjI2NjQxNg==","diff_hunk":"@@ -0,0 +1,29 @@\n+'use strict';\n+function TLocalStorage(dr) {\n+  var self = this,\n+      pHash = {};\n+\n+  self.reset = function() {","path":"lesson-18-mvc/localStorage.js","position":6,"original_position":6,"commit_id":"023d752d9c46eb2fdc205c641b195c826f3fe619","original_commit_id":"023d752d9c46eb2fdc205c641b195c826f3fe619","user":{"login":"instinct-it-academy","id":29653615,"node_id":"MDQ6VXNlcjI5NjUzNjE1","avatar_url":"https://avatars2.githubusercontent.com/u/29653615?v=4","gravatar_id":"","url":"https://api.github.com/users/instinct-it-academy","html_url":"https://github.com/instinct-it-academy","followers_url":"https://api.github.com/users/instinct-it-academy/followers","following_url":"https://api.github.com/users/instinct-it-academy/following{/other_user}","gists_url":"https://api.github.com/users/instinct-it-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/instinct-it-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/instinct-it-academy/subscriptions","organizations_url":"https://api.github.com/users/instinct-it-academy/orgs","repos_url":"https://api.github.com/users/instinct-it-academy/repos","events_url":"https://api.github.com/users/instinct-it-academy/events{/privacy}","received_events_url":"https://api.github.com/users/instinct-it-academy/received_events","type":"User","site_admin":false},"body":"вместо reset можно гораздо удобнее сделать это при инициализации pHash ... в одну строчку проверить есть ли что-то в хранилище и через || засетать {}","created_at":"2018-11-09T14:17:00Z","updated_at":"2018-11-09T14:33:51Z","html_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15#discussion_r232266416","pull_request_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/comments/232266416"},"html":{"href":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15#discussion_r232266416"},"pull_request":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15","id":227627425,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI3NjI3NDI1","html_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15","diff_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15.diff","patch_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15.patch","issue_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/15","number":15,"state":"open","locked":false,"title":"Lesson 18 mvc","user":{"login":"RadkevichLiudmila","id":33685926,"node_id":"MDQ6VXNlcjMzNjg1OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/33685926?v=4","gravatar_id":"","url":"https://api.github.com/users/RadkevichLiudmila","html_url":"https://github.com/RadkevichLiudmila","followers_url":"https://api.github.com/users/RadkevichLiudmila/followers","following_url":"https://api.github.com/users/RadkevichLiudmila/following{/other_user}","gists_url":"https://api.github.com/users/RadkevichLiudmila/gists{/gist_id}","starred_url":"https://api.github.com/users/RadkevichLiudmila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadkevichLiudmila/subscriptions","organizations_url":"https://api.github.com/users/RadkevichLiudmila/orgs","repos_url":"https://api.github.com/users/RadkevichLiudmila/repos","events_url":"https://api.github.com/users/RadkevichLiudmila/events{/privacy}","received_events_url":"https://api.github.com/users/RadkevichLiudmila/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-11-01T13:57:38Z","updated_at":"2018-11-09T14:33:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f16eb78ee31ae79a816b39de32ed4bc3826f77d0","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15/commits","review_comments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15/comments","review_comment_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/comments{/number}","comments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/15/comments","statuses_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/statuses/023d752d9c46eb2fdc205c641b195c826f3fe619","head":{"label":"RadkevichLiudmila:lesson-18-mvc","ref":"lesson-18-mvc","sha":"023d752d9c46eb2fdc205c641b195c826f3fe619","user":{"login":"RadkevichLiudmila","id":33685926,"node_id":"MDQ6VXNlcjMzNjg1OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/33685926?v=4","gravatar_id":"","url":"https://api.github.com/users/RadkevichLiudmila","html_url":"https://github.com/RadkevichLiudmila","followers_url":"https://api.github.com/users/RadkevichLiudmila/followers","following_url":"https://api.github.com/users/RadkevichLiudmila/following{/other_user}","gists_url":"https://api.github.com/users/RadkevichLiudmila/gists{/gist_id}","starred_url":"https://api.github.com/users/RadkevichLiudmila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadkevichLiudmila/subscriptions","organizations_url":"https://api.github.com/users/RadkevichLiudmila/orgs","repos_url":"https://api.github.com/users/RadkevichLiudmila/repos","events_url":"https://api.github.com/users/RadkevichLiudmila/events{/privacy}","received_events_url":"https://api.github.com/users/RadkevichLiudmila/received_events","type":"User","site_admin":false},"repo":{"id":147814342,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4MTQzNDI=","name":"js-home_RadkevichLuidmila","full_name":"RadkevichLiudmila/js-home_RadkevichLuidmila","private":false,"owner":{"login":"RadkevichLiudmila","id":33685926,"node_id":"MDQ6VXNlcjMzNjg1OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/33685926?v=4","gravatar_id":"","url":"https://api.github.com/users/RadkevichLiudmila","html_url":"https://github.com/RadkevichLiudmila","followers_url":"https://api.github.com/users/RadkevichLiudmila/followers","following_url":"https://api.github.com/users/RadkevichLiudmila/following{/other_user}","gists_url":"https://api.github.com/users/RadkevichLiudmila/gists{/gist_id}","starred_url":"https://api.github.com/users/RadkevichLiudmila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadkevichLiudmila/subscriptions","organizations_url":"https://api.github.com/users/RadkevichLiudmila/orgs","repos_url":"https://api.github.com/users/RadkevichLiudmila/repos","events_url":"https://api.github.com/users/RadkevichLiudmila/events{/privacy}","received_events_url":"https://api.github.com/users/RadkevichLiudmila/received_events","type":"User","site_admin":false},"html_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila","description":null,"fork":false,"url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila","forks_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/forks","keys_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/teams","hooks_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/hooks","issue_events_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/events{/number}","events_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/events","assignees_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/assignees{/user}","branches_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/branches{/branch}","tags_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/tags","blobs_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/refs{/sha}","trees_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/statuses/{sha}","languages_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/languages","stargazers_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/stargazers","contributors_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/contributors","subscribers_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/subscribers","subscription_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/subscription","commits_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/commits{/sha}","git_commits_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/commits{/sha}","comments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/comments{/number}","issue_comment_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/comments{/number}","contents_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/contents/{+path}","compare_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/merges","archive_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/downloads","issues_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues{/number}","pulls_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls{/number}","milestones_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/milestones{/number}","notifications_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/labels{/name}","releases_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/releases{/id}","deployments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/deployments","created_at":"2018-09-07T11:27:15Z","updated_at":"2018-10-15T08:53:04Z","pushed_at":"2018-11-01T13:57:39Z","git_url":"git://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila.git","ssh_url":"git@github.com:RadkevichLiudmila/js-home_RadkevichLuidmila.git","clone_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila.git","svn_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila","homepage":null,"size":283,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"base":{"label":"RadkevichLiudmila:master","ref":"master","sha":"bf61c7dab86759c8e65ae4ad214efc538720e06f","user":{"login":"RadkevichLiudmila","id":33685926,"node_id":"MDQ6VXNlcjMzNjg1OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/33685926?v=4","gravatar_id":"","url":"https://api.github.com/users/RadkevichLiudmila","html_url":"https://github.com/RadkevichLiudmila","followers_url":"https://api.github.com/users/RadkevichLiudmila/followers","following_url":"https://api.github.com/users/RadkevichLiudmila/following{/other_user}","gists_url":"https://api.github.com/users/RadkevichLiudmila/gists{/gist_id}","starred_url":"https://api.github.com/users/RadkevichLiudmila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadkevichLiudmila/subscriptions","organizations_url":"https://api.github.com/users/RadkevichLiudmila/orgs","repos_url":"https://api.github.com/users/RadkevichLiudmila/repos","events_url":"https://api.github.com/users/RadkevichLiudmila/events{/privacy}","received_events_url":"https://api.github.com/users/RadkevichLiudmila/received_events","type":"User","site_admin":false},"repo":{"id":147814342,"node_id":"MDEwOlJlcG9zaXRvcnkxNDc4MTQzNDI=","name":"js-home_RadkevichLuidmila","full_name":"RadkevichLiudmila/js-home_RadkevichLuidmila","private":false,"owner":{"login":"RadkevichLiudmila","id":33685926,"node_id":"MDQ6VXNlcjMzNjg1OTI2","avatar_url":"https://avatars2.githubusercontent.com/u/33685926?v=4","gravatar_id":"","url":"https://api.github.com/users/RadkevichLiudmila","html_url":"https://github.com/RadkevichLiudmila","followers_url":"https://api.github.com/users/RadkevichLiudmila/followers","following_url":"https://api.github.com/users/RadkevichLiudmila/following{/other_user}","gists_url":"https://api.github.com/users/RadkevichLiudmila/gists{/gist_id}","starred_url":"https://api.github.com/users/RadkevichLiudmila/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RadkevichLiudmila/subscriptions","organizations_url":"https://api.github.com/users/RadkevichLiudmila/orgs","repos_url":"https://api.github.com/users/RadkevichLiudmila/repos","events_url":"https://api.github.com/users/RadkevichLiudmila/events{/privacy}","received_events_url":"https://api.github.com/users/RadkevichLiudmila/received_events","type":"User","site_admin":false},"html_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila","description":null,"fork":false,"url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila","forks_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/forks","keys_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/keys{/key_id}","collaborators_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/teams","hooks_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/hooks","issue_events_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/events{/number}","events_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/events","assignees_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/assignees{/user}","branches_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/branches{/branch}","tags_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/tags","blobs_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/refs{/sha}","trees_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/trees{/sha}","statuses_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/statuses/{sha}","languages_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/languages","stargazers_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/stargazers","contributors_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/contributors","subscribers_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/subscribers","subscription_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/subscription","commits_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/commits{/sha}","git_commits_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/git/commits{/sha}","comments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/comments{/number}","issue_comment_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/comments{/number}","contents_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/contents/{+path}","compare_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/compare/{base}...{head}","merges_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/merges","archive_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/downloads","issues_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues{/number}","pulls_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls{/number}","milestones_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/milestones{/number}","notifications_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/labels{/name}","releases_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/releases{/id}","deployments_url":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/deployments","created_at":"2018-09-07T11:27:15Z","updated_at":"2018-10-15T08:53:04Z","pushed_at":"2018-11-01T13:57:39Z","git_url":"git://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila.git","ssh_url":"git@github.com:RadkevichLiudmila/js-home_RadkevichLuidmila.git","clone_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila.git","svn_url":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila","homepage":null,"size":283,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":8,"license":null,"forks":0,"open_issues":8,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15"},"html":{"href":"https://github.com/RadkevichLiudmila/js-home_RadkevichLuidmila/pull/15"},"issue":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/15"},"comments":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/RadkevichLiudmila/js-home_RadkevichLuidmila/statuses/023d752d9c46eb2fdc205c641b195c826f3fe619"}},"author_association":"OWNER"}}
{"actor":{"display_login":"instinct-it-academy"}}