{"action":"created","comment":{"url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/comments/50106970","id":50106970,"diff_hunk":"@@ -31,6 +32,17 @@ class SnippetStore {\n     }\n   }\n \n+  getAllOfCurrentUser (data){\n+    if (data.ok) {\n+      this.setState({\n+        currentUserSnippets: data.snippets\n+      });\n+    } else {","path":"client/js/stores/snippet-store.js","position":17,"original_position":17,"commit_id":"472e0663751bda8e2e00de574730640eb5b3a67f","original_commit_id":"472e0663751bda8e2e00de574730640eb5b3a67f","user":{"login":"Vakrim","id":2721585,"avatar_url":"https://avatars.githubusercontent.com/u/2721585?v=3","gravatar_id":"","url":"https://api.github.com/users/Vakrim","html_url":"https://github.com/Vakrim","followers_url":"https://api.github.com/users/Vakrim/followers","following_url":"https://api.github.com/users/Vakrim/following{/other_user}","gists_url":"https://api.github.com/users/Vakrim/gists{/gist_id}","starred_url":"https://api.github.com/users/Vakrim/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vakrim/subscriptions","organizations_url":"https://api.github.com/users/Vakrim/orgs","repos_url":"https://api.github.com/users/Vakrim/repos","events_url":"https://api.github.com/users/Vakrim/events{/privacy}","received_events_url":"https://api.github.com/users/Vakrim/received_events","type":"User","site_admin":false},"body":"`else` part isn't needed here","created_at":"2016-01-19T12:38:07Z","updated_at":"2016-01-19T12:38:07Z","html_url":"https://github.com/binarapps/snippet-hero/pull/28#discussion_r50106970","pull_request_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28","_links":{"self":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/comments/50106970"},"html":{"href":"https://github.com/binarapps/snippet-hero/pull/28#discussion_r50106970"},"pull_request":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28"}}},"pull_request":{"url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28","id":56185465,"html_url":"https://github.com/binarapps/snippet-hero/pull/28","diff_url":"https://github.com/binarapps/snippet-hero/pull/28.diff","patch_url":"https://github.com/binarapps/snippet-hero/pull/28.patch","issue_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/28","number":28,"state":"open","locked":false,"title":"Feature/snippet user list","user":{"login":"dwoznicka","id":9791020,"avatar_url":"https://avatars.githubusercontent.com/u/9791020?v=3","gravatar_id":"","url":"https://api.github.com/users/dwoznicka","html_url":"https://github.com/dwoznicka","followers_url":"https://api.github.com/users/dwoznicka/followers","following_url":"https://api.github.com/users/dwoznicka/following{/other_user}","gists_url":"https://api.github.com/users/dwoznicka/gists{/gist_id}","starred_url":"https://api.github.com/users/dwoznicka/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dwoznicka/subscriptions","organizations_url":"https://api.github.com/users/dwoznicka/orgs","repos_url":"https://api.github.com/users/dwoznicka/repos","events_url":"https://api.github.com/users/dwoznicka/events{/privacy}","received_events_url":"https://api.github.com/users/dwoznicka/received_events","type":"User","site_admin":false},"body":"i left editing snippet for another task \r\nalso leaving sorting snippets by language for now, will do in another task","created_at":"2016-01-15T15:52:59Z","updated_at":"2016-01-19T12:38:07Z","closed_at":null,"merged_at":null,"merge_commit_sha":"73ce0eb83a9859861aefdcb5e9a15403f856e7c1","assignee":{"login":"blimusiek","id":405773,"avatar_url":"https://avatars.githubusercontent.com/u/405773?v=3","gravatar_id":"","url":"https://api.github.com/users/blimusiek","html_url":"https://github.com/blimusiek","followers_url":"https://api.github.com/users/blimusiek/followers","following_url":"https://api.github.com/users/blimusiek/following{/other_user}","gists_url":"https://api.github.com/users/blimusiek/gists{/gist_id}","starred_url":"https://api.github.com/users/blimusiek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blimusiek/subscriptions","organizations_url":"https://api.github.com/users/blimusiek/orgs","repos_url":"https://api.github.com/users/blimusiek/repos","events_url":"https://api.github.com/users/blimusiek/events{/privacy}","received_events_url":"https://api.github.com/users/blimusiek/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28/commits","review_comments_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28/comments","review_comment_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls/comments{/number}","comments_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/28/comments","statuses_url":"https://api.github.com/repos/binarapps/snippet-hero/statuses/472e0663751bda8e2e00de574730640eb5b3a67f","head":{"label":"binarapps:feature/snippet-user-list","ref":"feature/snippet-user-list","sha":"472e0663751bda8e2e00de574730640eb5b3a67f","user":{"login":"binarapps","id":7827033,"avatar_url":"https://avatars.githubusercontent.com/u/7827033?v=3","gravatar_id":"","url":"https://api.github.com/users/binarapps","html_url":"https://github.com/binarapps","followers_url":"https://api.github.com/users/binarapps/followers","following_url":"https://api.github.com/users/binarapps/following{/other_user}","gists_url":"https://api.github.com/users/binarapps/gists{/gist_id}","starred_url":"https://api.github.com/users/binarapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarapps/subscriptions","organizations_url":"https://api.github.com/users/binarapps/orgs","repos_url":"https://api.github.com/users/binarapps/repos","events_url":"https://api.github.com/users/binarapps/events{/privacy}","received_events_url":"https://api.github.com/users/binarapps/received_events","type":"Organization","site_admin":false},"repo":{"id":46061782,"name":"snippet-hero","full_name":"binarapps/snippet-hero","owner":{"login":"binarapps","id":7827033,"avatar_url":"https://avatars.githubusercontent.com/u/7827033?v=3","gravatar_id":"","url":"https://api.github.com/users/binarapps","html_url":"https://github.com/binarapps","followers_url":"https://api.github.com/users/binarapps/followers","following_url":"https://api.github.com/users/binarapps/following{/other_user}","gists_url":"https://api.github.com/users/binarapps/gists{/gist_id}","starred_url":"https://api.github.com/users/binarapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarapps/subscriptions","organizations_url":"https://api.github.com/users/binarapps/orgs","repos_url":"https://api.github.com/users/binarapps/repos","events_url":"https://api.github.com/users/binarapps/events{/privacy}","received_events_url":"https://api.github.com/users/binarapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/binarapps/snippet-hero","description":"","fork":false,"url":"https://api.github.com/repos/binarapps/snippet-hero","forks_url":"https://api.github.com/repos/binarapps/snippet-hero/forks","keys_url":"https://api.github.com/repos/binarapps/snippet-hero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binarapps/snippet-hero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binarapps/snippet-hero/teams","hooks_url":"https://api.github.com/repos/binarapps/snippet-hero/hooks","issue_events_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/events{/number}","events_url":"https://api.github.com/repos/binarapps/snippet-hero/events","assignees_url":"https://api.github.com/repos/binarapps/snippet-hero/assignees{/user}","branches_url":"https://api.github.com/repos/binarapps/snippet-hero/branches{/branch}","tags_url":"https://api.github.com/repos/binarapps/snippet-hero/tags","blobs_url":"https://api.github.com/repos/binarapps/snippet-hero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binarapps/snippet-hero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binarapps/snippet-hero/git/refs{/sha}","trees_url":"https://api.github.com/repos/binarapps/snippet-hero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binarapps/snippet-hero/statuses/{sha}","languages_url":"https://api.github.com/repos/binarapps/snippet-hero/languages","stargazers_url":"https://api.github.com/repos/binarapps/snippet-hero/stargazers","contributors_url":"https://api.github.com/repos/binarapps/snippet-hero/contributors","subscribers_url":"https://api.github.com/repos/binarapps/snippet-hero/subscribers","subscription_url":"https://api.github.com/repos/binarapps/snippet-hero/subscription","commits_url":"https://api.github.com/repos/binarapps/snippet-hero/commits{/sha}","git_commits_url":"https://api.github.com/repos/binarapps/snippet-hero/git/commits{/sha}","comments_url":"https://api.github.com/repos/binarapps/snippet-hero/comments{/number}","issue_comment_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/comments{/number}","contents_url":"https://api.github.com/repos/binarapps/snippet-hero/contents/{+path}","compare_url":"https://api.github.com/repos/binarapps/snippet-hero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binarapps/snippet-hero/merges","archive_url":"https://api.github.com/repos/binarapps/snippet-hero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binarapps/snippet-hero/downloads","issues_url":"https://api.github.com/repos/binarapps/snippet-hero/issues{/number}","pulls_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls{/number}","milestones_url":"https://api.github.com/repos/binarapps/snippet-hero/milestones{/number}","notifications_url":"https://api.github.com/repos/binarapps/snippet-hero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binarapps/snippet-hero/labels{/name}","releases_url":"https://api.github.com/repos/binarapps/snippet-hero/releases{/id}","created_at":"2015-11-12T15:25:20Z","updated_at":"2016-01-11T15:17:34Z","pushed_at":"2016-01-19T12:17:40Z","git_url":"git://github.com/binarapps/snippet-hero.git","ssh_url":"git@github.com:binarapps/snippet-hero.git","clone_url":"https://github.com/binarapps/snippet-hero.git","svn_url":"https://github.com/binarapps/snippet-hero","homepage":null,"size":243,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"base":{"label":"binarapps:master","ref":"master","sha":"1156cd3e06053363035d7f5178fb1b6a8f022227","user":{"login":"binarapps","id":7827033,"avatar_url":"https://avatars.githubusercontent.com/u/7827033?v=3","gravatar_id":"","url":"https://api.github.com/users/binarapps","html_url":"https://github.com/binarapps","followers_url":"https://api.github.com/users/binarapps/followers","following_url":"https://api.github.com/users/binarapps/following{/other_user}","gists_url":"https://api.github.com/users/binarapps/gists{/gist_id}","starred_url":"https://api.github.com/users/binarapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarapps/subscriptions","organizations_url":"https://api.github.com/users/binarapps/orgs","repos_url":"https://api.github.com/users/binarapps/repos","events_url":"https://api.github.com/users/binarapps/events{/privacy}","received_events_url":"https://api.github.com/users/binarapps/received_events","type":"Organization","site_admin":false},"repo":{"id":46061782,"name":"snippet-hero","full_name":"binarapps/snippet-hero","owner":{"login":"binarapps","id":7827033,"avatar_url":"https://avatars.githubusercontent.com/u/7827033?v=3","gravatar_id":"","url":"https://api.github.com/users/binarapps","html_url":"https://github.com/binarapps","followers_url":"https://api.github.com/users/binarapps/followers","following_url":"https://api.github.com/users/binarapps/following{/other_user}","gists_url":"https://api.github.com/users/binarapps/gists{/gist_id}","starred_url":"https://api.github.com/users/binarapps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binarapps/subscriptions","organizations_url":"https://api.github.com/users/binarapps/orgs","repos_url":"https://api.github.com/users/binarapps/repos","events_url":"https://api.github.com/users/binarapps/events{/privacy}","received_events_url":"https://api.github.com/users/binarapps/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/binarapps/snippet-hero","description":"","fork":false,"url":"https://api.github.com/repos/binarapps/snippet-hero","forks_url":"https://api.github.com/repos/binarapps/snippet-hero/forks","keys_url":"https://api.github.com/repos/binarapps/snippet-hero/keys{/key_id}","collaborators_url":"https://api.github.com/repos/binarapps/snippet-hero/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/binarapps/snippet-hero/teams","hooks_url":"https://api.github.com/repos/binarapps/snippet-hero/hooks","issue_events_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/events{/number}","events_url":"https://api.github.com/repos/binarapps/snippet-hero/events","assignees_url":"https://api.github.com/repos/binarapps/snippet-hero/assignees{/user}","branches_url":"https://api.github.com/repos/binarapps/snippet-hero/branches{/branch}","tags_url":"https://api.github.com/repos/binarapps/snippet-hero/tags","blobs_url":"https://api.github.com/repos/binarapps/snippet-hero/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/binarapps/snippet-hero/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/binarapps/snippet-hero/git/refs{/sha}","trees_url":"https://api.github.com/repos/binarapps/snippet-hero/git/trees{/sha}","statuses_url":"https://api.github.com/repos/binarapps/snippet-hero/statuses/{sha}","languages_url":"https://api.github.com/repos/binarapps/snippet-hero/languages","stargazers_url":"https://api.github.com/repos/binarapps/snippet-hero/stargazers","contributors_url":"https://api.github.com/repos/binarapps/snippet-hero/contributors","subscribers_url":"https://api.github.com/repos/binarapps/snippet-hero/subscribers","subscription_url":"https://api.github.com/repos/binarapps/snippet-hero/subscription","commits_url":"https://api.github.com/repos/binarapps/snippet-hero/commits{/sha}","git_commits_url":"https://api.github.com/repos/binarapps/snippet-hero/git/commits{/sha}","comments_url":"https://api.github.com/repos/binarapps/snippet-hero/comments{/number}","issue_comment_url":"https://api.github.com/repos/binarapps/snippet-hero/issues/comments{/number}","contents_url":"https://api.github.com/repos/binarapps/snippet-hero/contents/{+path}","compare_url":"https://api.github.com/repos/binarapps/snippet-hero/compare/{base}...{head}","merges_url":"https://api.github.com/repos/binarapps/snippet-hero/merges","archive_url":"https://api.github.com/repos/binarapps/snippet-hero/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/binarapps/snippet-hero/downloads","issues_url":"https://api.github.com/repos/binarapps/snippet-hero/issues{/number}","pulls_url":"https://api.github.com/repos/binarapps/snippet-hero/pulls{/number}","milestones_url":"https://api.github.com/repos/binarapps/snippet-hero/milestones{/number}","notifications_url":"https://api.github.com/repos/binarapps/snippet-hero/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/binarapps/snippet-hero/labels{/name}","releases_url":"https://api.github.com/repos/binarapps/snippet-hero/releases{/id}","created_at":"2015-11-12T15:25:20Z","updated_at":"2016-01-11T15:17:34Z","pushed_at":"2016-01-19T12:17:40Z","git_url":"git://github.com/binarapps/snippet-hero.git","ssh_url":"git@github.com:binarapps/snippet-hero.git","clone_url":"https://github.com/binarapps/snippet-hero.git","svn_url":"https://github.com/binarapps/snippet-hero","homepage":null,"size":243,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":1,"forks":1,"open_issues":1,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28"},"html":{"href":"https://github.com/binarapps/snippet-hero/pull/28"},"issue":{"href":"https://api.github.com/repos/binarapps/snippet-hero/issues/28"},"comments":{"href":"https://api.github.com/repos/binarapps/snippet-hero/issues/28/comments"},"review_comments":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28/comments"},"review_comment":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/binarapps/snippet-hero/pulls/28/commits"},"statuses":{"href":"https://api.github.com/repos/binarapps/snippet-hero/statuses/472e0663751bda8e2e00de574730640eb5b3a67f"}}}}