{"action":"created","comment":{"url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/comments/125670073","pull_request_review_id":48082331,"id":125670073,"diff_hunk":"@@ -0,0 +1,87 @@\n+import React, { Component } from 'react';\n+\n+class Comment extends Component{\n+  constructor(props) {\n+    super(props);\n+    this.state = {\n+      comment: '',\n+      comments: []\n+    }\n+    this.updateComment = this.updateComment.bind(this);\n+    this.handleSubmit = this.handleSubmit.bind(this);\n+  }\n+  updateComment(event) {\n+    event.preventDefault();\n+    this.setState({ comment: event.target.value });\n+  }\n+\n+  retrieveComments() {\n+    event.preventDefault();\n+    $.ajax({\n+      url: '/api/v1/comments',\n+      contentType: 'application/json'\n+    })\n+    .done(data => {","path":"react/src/components/comment.js","position":24,"original_position":24,"commit_id":"c1925f01a685cbc38ebc93e38165372caab54253","original_commit_id":"c1925f01a685cbc38ebc93e38165372caab54253","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars3.githubusercontent.com/u/6697940?v=3","gravatar_id":"","url":"https://api.github.com/users/houndci-bot","html_url":"https://github.com/houndci-bot","followers_url":"https://api.github.com/users/houndci-bot/followers","following_url":"https://api.github.com/users/houndci-bot/following{/other_user}","gists_url":"https://api.github.com/users/houndci-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/houndci-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houndci-bot/subscriptions","organizations_url":"https://api.github.com/users/houndci-bot/orgs","repos_url":"https://api.github.com/users/houndci-bot/repos","events_url":"https://api.github.com/users/houndci-bot/events{/privacy}","received_events_url":"https://api.github.com/users/houndci-bot/received_events","type":"User","site_admin":false},"body":"'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2017-07-05T15:07:04Z","updated_at":"2017-07-05T15:07:05Z","html_url":"https://github.com/pmc521/twistee-treat-website/pull/15#discussion_r125670073","pull_request_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15","_links":{"self":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/comments/125670073"},"html":{"href":"https://github.com/pmc521/twistee-treat-website/pull/15#discussion_r125670073"},"pull_request":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15","id":128986269,"html_url":"https://github.com/pmc521/twistee-treat-website/pull/15","diff_url":"https://github.com/pmc521/twistee-treat-website/pull/15.diff","patch_url":"https://github.com/pmc521/twistee-treat-website/pull/15.patch","issue_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/15","number":15,"state":"open","locked":false,"title":"Comments posts","user":{"login":"pmc521","id":28245567,"avatar_url":"https://avatars2.githubusercontent.com/u/28245567?v=3","gravatar_id":"","url":"https://api.github.com/users/pmc521","html_url":"https://github.com/pmc521","followers_url":"https://api.github.com/users/pmc521/followers","following_url":"https://api.github.com/users/pmc521/following{/other_user}","gists_url":"https://api.github.com/users/pmc521/gists{/gist_id}","starred_url":"https://api.github.com/users/pmc521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmc521/subscriptions","organizations_url":"https://api.github.com/users/pmc521/orgs","repos_url":"https://api.github.com/users/pmc521/repos","events_url":"https://api.github.com/users/pmc521/events{/privacy}","received_events_url":"https://api.github.com/users/pmc521/received_events","type":"User","site_admin":false},"body":"","created_at":"2017-07-05T15:06:46Z","updated_at":"2017-07-05T15:07:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ef530ebdf37d33fbff98823e28aae499dd2d0346","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15/commits","review_comments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15/comments","review_comment_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/15/comments","statuses_url":"https://api.github.com/repos/pmc521/twistee-treat-website/statuses/c1925f01a685cbc38ebc93e38165372caab54253","head":{"label":"pmc521:comments-posts","ref":"comments-posts","sha":"c1925f01a685cbc38ebc93e38165372caab54253","user":{"login":"pmc521","id":28245567,"avatar_url":"https://avatars2.githubusercontent.com/u/28245567?v=3","gravatar_id":"","url":"https://api.github.com/users/pmc521","html_url":"https://github.com/pmc521","followers_url":"https://api.github.com/users/pmc521/followers","following_url":"https://api.github.com/users/pmc521/following{/other_user}","gists_url":"https://api.github.com/users/pmc521/gists{/gist_id}","starred_url":"https://api.github.com/users/pmc521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmc521/subscriptions","organizations_url":"https://api.github.com/users/pmc521/orgs","repos_url":"https://api.github.com/users/pmc521/repos","events_url":"https://api.github.com/users/pmc521/events{/privacy}","received_events_url":"https://api.github.com/users/pmc521/received_events","type":"User","site_admin":false},"repo":{"id":95315764,"name":"twistee-treat-website","full_name":"pmc521/twistee-treat-website","owner":{"login":"pmc521","id":28245567,"avatar_url":"https://avatars2.githubusercontent.com/u/28245567?v=3","gravatar_id":"","url":"https://api.github.com/users/pmc521","html_url":"https://github.com/pmc521","followers_url":"https://api.github.com/users/pmc521/followers","following_url":"https://api.github.com/users/pmc521/following{/other_user}","gists_url":"https://api.github.com/users/pmc521/gists{/gist_id}","starred_url":"https://api.github.com/users/pmc521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmc521/subscriptions","organizations_url":"https://api.github.com/users/pmc521/orgs","repos_url":"https://api.github.com/users/pmc521/repos","events_url":"https://api.github.com/users/pmc521/events{/privacy}","received_events_url":"https://api.github.com/users/pmc521/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmc521/twistee-treat-website","description":null,"fork":false,"url":"https://api.github.com/repos/pmc521/twistee-treat-website","forks_url":"https://api.github.com/repos/pmc521/twistee-treat-website/forks","keys_url":"https://api.github.com/repos/pmc521/twistee-treat-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmc521/twistee-treat-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmc521/twistee-treat-website/teams","hooks_url":"https://api.github.com/repos/pmc521/twistee-treat-website/hooks","issue_events_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/events{/number}","events_url":"https://api.github.com/repos/pmc521/twistee-treat-website/events","assignees_url":"https://api.github.com/repos/pmc521/twistee-treat-website/assignees{/user}","branches_url":"https://api.github.com/repos/pmc521/twistee-treat-website/branches{/branch}","tags_url":"https://api.github.com/repos/pmc521/twistee-treat-website/tags","blobs_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmc521/twistee-treat-website/statuses/{sha}","languages_url":"https://api.github.com/repos/pmc521/twistee-treat-website/languages","stargazers_url":"https://api.github.com/repos/pmc521/twistee-treat-website/stargazers","contributors_url":"https://api.github.com/repos/pmc521/twistee-treat-website/contributors","subscribers_url":"https://api.github.com/repos/pmc521/twistee-treat-website/subscribers","subscription_url":"https://api.github.com/repos/pmc521/twistee-treat-website/subscription","commits_url":"https://api.github.com/repos/pmc521/twistee-treat-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmc521/twistee-treat-website/contents/{+path}","compare_url":"https://api.github.com/repos/pmc521/twistee-treat-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmc521/twistee-treat-website/merges","archive_url":"https://api.github.com/repos/pmc521/twistee-treat-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmc521/twistee-treat-website/downloads","issues_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues{/number}","pulls_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls{/number}","milestones_url":"https://api.github.com/repos/pmc521/twistee-treat-website/milestones{/number}","notifications_url":"https://api.github.com/repos/pmc521/twistee-treat-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmc521/twistee-treat-website/labels{/name}","releases_url":"https://api.github.com/repos/pmc521/twistee-treat-website/releases{/id}","deployments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/deployments","created_at":"2017-06-24T18:34:11Z","updated_at":"2017-06-26T15:31:30Z","pushed_at":"2017-07-05T15:06:46Z","git_url":"git://github.com/pmc521/twistee-treat-website.git","ssh_url":"git@github.com:pmc521/twistee-treat-website.git","clone_url":"https://github.com/pmc521/twistee-treat-website.git","svn_url":"https://github.com/pmc521/twistee-treat-website","homepage":null,"size":206,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"pmc521:master","ref":"master","sha":"4ed75fbaf8413f56d5a2a74b311b7230e3eeeed6","user":{"login":"pmc521","id":28245567,"avatar_url":"https://avatars2.githubusercontent.com/u/28245567?v=3","gravatar_id":"","url":"https://api.github.com/users/pmc521","html_url":"https://github.com/pmc521","followers_url":"https://api.github.com/users/pmc521/followers","following_url":"https://api.github.com/users/pmc521/following{/other_user}","gists_url":"https://api.github.com/users/pmc521/gists{/gist_id}","starred_url":"https://api.github.com/users/pmc521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmc521/subscriptions","organizations_url":"https://api.github.com/users/pmc521/orgs","repos_url":"https://api.github.com/users/pmc521/repos","events_url":"https://api.github.com/users/pmc521/events{/privacy}","received_events_url":"https://api.github.com/users/pmc521/received_events","type":"User","site_admin":false},"repo":{"id":95315764,"name":"twistee-treat-website","full_name":"pmc521/twistee-treat-website","owner":{"login":"pmc521","id":28245567,"avatar_url":"https://avatars2.githubusercontent.com/u/28245567?v=3","gravatar_id":"","url":"https://api.github.com/users/pmc521","html_url":"https://github.com/pmc521","followers_url":"https://api.github.com/users/pmc521/followers","following_url":"https://api.github.com/users/pmc521/following{/other_user}","gists_url":"https://api.github.com/users/pmc521/gists{/gist_id}","starred_url":"https://api.github.com/users/pmc521/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmc521/subscriptions","organizations_url":"https://api.github.com/users/pmc521/orgs","repos_url":"https://api.github.com/users/pmc521/repos","events_url":"https://api.github.com/users/pmc521/events{/privacy}","received_events_url":"https://api.github.com/users/pmc521/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/pmc521/twistee-treat-website","description":null,"fork":false,"url":"https://api.github.com/repos/pmc521/twistee-treat-website","forks_url":"https://api.github.com/repos/pmc521/twistee-treat-website/forks","keys_url":"https://api.github.com/repos/pmc521/twistee-treat-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmc521/twistee-treat-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmc521/twistee-treat-website/teams","hooks_url":"https://api.github.com/repos/pmc521/twistee-treat-website/hooks","issue_events_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/events{/number}","events_url":"https://api.github.com/repos/pmc521/twistee-treat-website/events","assignees_url":"https://api.github.com/repos/pmc521/twistee-treat-website/assignees{/user}","branches_url":"https://api.github.com/repos/pmc521/twistee-treat-website/branches{/branch}","tags_url":"https://api.github.com/repos/pmc521/twistee-treat-website/tags","blobs_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmc521/twistee-treat-website/statuses/{sha}","languages_url":"https://api.github.com/repos/pmc521/twistee-treat-website/languages","stargazers_url":"https://api.github.com/repos/pmc521/twistee-treat-website/stargazers","contributors_url":"https://api.github.com/repos/pmc521/twistee-treat-website/contributors","subscribers_url":"https://api.github.com/repos/pmc521/twistee-treat-website/subscribers","subscription_url":"https://api.github.com/repos/pmc521/twistee-treat-website/subscription","commits_url":"https://api.github.com/repos/pmc521/twistee-treat-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmc521/twistee-treat-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmc521/twistee-treat-website/contents/{+path}","compare_url":"https://api.github.com/repos/pmc521/twistee-treat-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmc521/twistee-treat-website/merges","archive_url":"https://api.github.com/repos/pmc521/twistee-treat-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmc521/twistee-treat-website/downloads","issues_url":"https://api.github.com/repos/pmc521/twistee-treat-website/issues{/number}","pulls_url":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls{/number}","milestones_url":"https://api.github.com/repos/pmc521/twistee-treat-website/milestones{/number}","notifications_url":"https://api.github.com/repos/pmc521/twistee-treat-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmc521/twistee-treat-website/labels{/name}","releases_url":"https://api.github.com/repos/pmc521/twistee-treat-website/releases{/id}","deployments_url":"https://api.github.com/repos/pmc521/twistee-treat-website/deployments","created_at":"2017-06-24T18:34:11Z","updated_at":"2017-06-26T15:31:30Z","pushed_at":"2017-07-05T15:06:46Z","git_url":"git://github.com/pmc521/twistee-treat-website.git","ssh_url":"git@github.com:pmc521/twistee-treat-website.git","clone_url":"https://github.com/pmc521/twistee-treat-website.git","svn_url":"https://github.com/pmc521/twistee-treat-website","homepage":null,"size":206,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15"},"html":{"href":"https://github.com/pmc521/twistee-treat-website/pull/15"},"issue":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/15"},"comments":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/pmc521/twistee-treat-website/statuses/c1925f01a685cbc38ebc93e38165372caab54253"}}}}
{"actor":{"display_login":"houndci-bot"}}