{"action":"created","comment":{"url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/comments/150327472","pull_request_review_id":75868945,"id":150327472,"diff_hunk":"@@ -0,0 +1,55 @@\n+import React, { Component } from 'react';\n+import Goal from './Goal';\n+\n+class Timer extends Component {\n+  constructor(props) {\n+    super(props);\n+\n+    this.state = {\n+      goals: []\n+    };\n+\n+    this.getGoals = this.getGoals.bind(this);\n+    this.populateGoals = this.populateGoals.bind(this);\n+  }\n+\n+  componentDidMount(){\n+    this.getGoals();\n+  }\n+\n+  getGoals() {\n+    $.ajax({\n+      url: `http://localhost:3000/api/v1/goals.json`,\n+      method: 'GET',\n+      success: this.populateGoals\n+    });\n+  }\n+\n+  populateGoals(data) {\n+    this.setState({ goals: data.goals });\n+  }\n+\n+  render() {\n+    let goals = this.state.goals.map(goal => {","path":"react/src/components/Timer.js","position":33,"original_position":33,"commit_id":"4db2cf7c17a916e3c2f6838e06798e7f89270fee","original_commit_id":"4db2cf7c17a916e3c2f6838e06798e7f89270fee","user":{"login":"houndci-bot","id":6697940,"avatar_url":"https://avatars0.githubusercontent.com/u/6697940?v=4","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":"'let' is available in ES6 (use 'esversion: 6') or Mozilla JS extensions (use moz).<br>'arrow function syntax (=>)' is only available in ES6 (use 'esversion: 6').","created_at":"2017-11-10T20:11:04Z","updated_at":"2017-11-10T20:11:04Z","html_url":"https://github.com/spokrovskiy/countdown/pull/35#discussion_r150327472","pull_request_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/comments/150327472"},"html":{"href":"https://github.com/spokrovskiy/countdown/pull/35#discussion_r150327472"},"pull_request":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35"}}},"pull_request":{"url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35","id":151992707,"html_url":"https://github.com/spokrovskiy/countdown/pull/35","diff_url":"https://github.com/spokrovskiy/countdown/pull/35.diff","patch_url":"https://github.com/spokrovskiy/countdown/pull/35.patch","issue_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/35","number":35,"state":"closed","locked":false,"title":"Goals api","user":{"login":"spokrovskiy","id":19786902,"avatar_url":"https://avatars3.githubusercontent.com/u/19786902?v=4","gravatar_id":"","url":"https://api.github.com/users/spokrovskiy","html_url":"https://github.com/spokrovskiy","followers_url":"https://api.github.com/users/spokrovskiy/followers","following_url":"https://api.github.com/users/spokrovskiy/following{/other_user}","gists_url":"https://api.github.com/users/spokrovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/spokrovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spokrovskiy/subscriptions","organizations_url":"https://api.github.com/users/spokrovskiy/orgs","repos_url":"https://api.github.com/users/spokrovskiy/repos","events_url":"https://api.github.com/users/spokrovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/spokrovskiy/received_events","type":"User","site_admin":false},"body":"Set up an api and displayed received data","created_at":"2017-11-10T20:10:51Z","updated_at":"2017-11-10T20:11:05Z","closed_at":"2017-11-10T20:11:03Z","merged_at":"2017-11-10T20:11:03Z","merge_commit_sha":"03724ff0cd5a67bf85b0c15598a8fdbe53bed93a","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35/commits","review_comments_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35/comments","review_comment_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/35/comments","statuses_url":"https://api.github.com/repos/spokrovskiy/countdown/statuses/4db2cf7c17a916e3c2f6838e06798e7f89270fee","head":{"label":"spokrovskiy:goals-api","ref":"goals-api","sha":"4db2cf7c17a916e3c2f6838e06798e7f89270fee","user":{"login":"spokrovskiy","id":19786902,"avatar_url":"https://avatars3.githubusercontent.com/u/19786902?v=4","gravatar_id":"","url":"https://api.github.com/users/spokrovskiy","html_url":"https://github.com/spokrovskiy","followers_url":"https://api.github.com/users/spokrovskiy/followers","following_url":"https://api.github.com/users/spokrovskiy/following{/other_user}","gists_url":"https://api.github.com/users/spokrovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/spokrovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spokrovskiy/subscriptions","organizations_url":"https://api.github.com/users/spokrovskiy/orgs","repos_url":"https://api.github.com/users/spokrovskiy/repos","events_url":"https://api.github.com/users/spokrovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/spokrovskiy/received_events","type":"User","site_admin":false},"repo":{"id":63608551,"name":"countdown","full_name":"spokrovskiy/countdown","owner":{"login":"spokrovskiy","id":19786902,"avatar_url":"https://avatars3.githubusercontent.com/u/19786902?v=4","gravatar_id":"","url":"https://api.github.com/users/spokrovskiy","html_url":"https://github.com/spokrovskiy","followers_url":"https://api.github.com/users/spokrovskiy/followers","following_url":"https://api.github.com/users/spokrovskiy/following{/other_user}","gists_url":"https://api.github.com/users/spokrovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/spokrovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spokrovskiy/subscriptions","organizations_url":"https://api.github.com/users/spokrovskiy/orgs","repos_url":"https://api.github.com/users/spokrovskiy/repos","events_url":"https://api.github.com/users/spokrovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/spokrovskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spokrovskiy/countdown","description":null,"fork":false,"url":"https://api.github.com/repos/spokrovskiy/countdown","forks_url":"https://api.github.com/repos/spokrovskiy/countdown/forks","keys_url":"https://api.github.com/repos/spokrovskiy/countdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spokrovskiy/countdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spokrovskiy/countdown/teams","hooks_url":"https://api.github.com/repos/spokrovskiy/countdown/hooks","issue_events_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/events{/number}","events_url":"https://api.github.com/repos/spokrovskiy/countdown/events","assignees_url":"https://api.github.com/repos/spokrovskiy/countdown/assignees{/user}","branches_url":"https://api.github.com/repos/spokrovskiy/countdown/branches{/branch}","tags_url":"https://api.github.com/repos/spokrovskiy/countdown/tags","blobs_url":"https://api.github.com/repos/spokrovskiy/countdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spokrovskiy/countdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spokrovskiy/countdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/spokrovskiy/countdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spokrovskiy/countdown/statuses/{sha}","languages_url":"https://api.github.com/repos/spokrovskiy/countdown/languages","stargazers_url":"https://api.github.com/repos/spokrovskiy/countdown/stargazers","contributors_url":"https://api.github.com/repos/spokrovskiy/countdown/contributors","subscribers_url":"https://api.github.com/repos/spokrovskiy/countdown/subscribers","subscription_url":"https://api.github.com/repos/spokrovskiy/countdown/subscription","commits_url":"https://api.github.com/repos/spokrovskiy/countdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/spokrovskiy/countdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/spokrovskiy/countdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/spokrovskiy/countdown/contents/{+path}","compare_url":"https://api.github.com/repos/spokrovskiy/countdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spokrovskiy/countdown/merges","archive_url":"https://api.github.com/repos/spokrovskiy/countdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spokrovskiy/countdown/downloads","issues_url":"https://api.github.com/repos/spokrovskiy/countdown/issues{/number}","pulls_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls{/number}","milestones_url":"https://api.github.com/repos/spokrovskiy/countdown/milestones{/number}","notifications_url":"https://api.github.com/repos/spokrovskiy/countdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spokrovskiy/countdown/labels{/name}","releases_url":"https://api.github.com/repos/spokrovskiy/countdown/releases{/id}","deployments_url":"https://api.github.com/repos/spokrovskiy/countdown/deployments","created_at":"2016-07-18T14:11:49Z","updated_at":"2016-07-18T14:15:07Z","pushed_at":"2017-11-10T20:11:05Z","git_url":"git://github.com/spokrovskiy/countdown.git","ssh_url":"git@github.com:spokrovskiy/countdown.git","clone_url":"https://github.com/spokrovskiy/countdown.git","svn_url":"https://github.com/spokrovskiy/countdown","homepage":null,"size":1654,"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,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"spokrovskiy:master","ref":"master","sha":"c533c91e47839804a755a27e7d5982feafc1a4a3","user":{"login":"spokrovskiy","id":19786902,"avatar_url":"https://avatars3.githubusercontent.com/u/19786902?v=4","gravatar_id":"","url":"https://api.github.com/users/spokrovskiy","html_url":"https://github.com/spokrovskiy","followers_url":"https://api.github.com/users/spokrovskiy/followers","following_url":"https://api.github.com/users/spokrovskiy/following{/other_user}","gists_url":"https://api.github.com/users/spokrovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/spokrovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spokrovskiy/subscriptions","organizations_url":"https://api.github.com/users/spokrovskiy/orgs","repos_url":"https://api.github.com/users/spokrovskiy/repos","events_url":"https://api.github.com/users/spokrovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/spokrovskiy/received_events","type":"User","site_admin":false},"repo":{"id":63608551,"name":"countdown","full_name":"spokrovskiy/countdown","owner":{"login":"spokrovskiy","id":19786902,"avatar_url":"https://avatars3.githubusercontent.com/u/19786902?v=4","gravatar_id":"","url":"https://api.github.com/users/spokrovskiy","html_url":"https://github.com/spokrovskiy","followers_url":"https://api.github.com/users/spokrovskiy/followers","following_url":"https://api.github.com/users/spokrovskiy/following{/other_user}","gists_url":"https://api.github.com/users/spokrovskiy/gists{/gist_id}","starred_url":"https://api.github.com/users/spokrovskiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spokrovskiy/subscriptions","organizations_url":"https://api.github.com/users/spokrovskiy/orgs","repos_url":"https://api.github.com/users/spokrovskiy/repos","events_url":"https://api.github.com/users/spokrovskiy/events{/privacy}","received_events_url":"https://api.github.com/users/spokrovskiy/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spokrovskiy/countdown","description":null,"fork":false,"url":"https://api.github.com/repos/spokrovskiy/countdown","forks_url":"https://api.github.com/repos/spokrovskiy/countdown/forks","keys_url":"https://api.github.com/repos/spokrovskiy/countdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spokrovskiy/countdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spokrovskiy/countdown/teams","hooks_url":"https://api.github.com/repos/spokrovskiy/countdown/hooks","issue_events_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/events{/number}","events_url":"https://api.github.com/repos/spokrovskiy/countdown/events","assignees_url":"https://api.github.com/repos/spokrovskiy/countdown/assignees{/user}","branches_url":"https://api.github.com/repos/spokrovskiy/countdown/branches{/branch}","tags_url":"https://api.github.com/repos/spokrovskiy/countdown/tags","blobs_url":"https://api.github.com/repos/spokrovskiy/countdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spokrovskiy/countdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spokrovskiy/countdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/spokrovskiy/countdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spokrovskiy/countdown/statuses/{sha}","languages_url":"https://api.github.com/repos/spokrovskiy/countdown/languages","stargazers_url":"https://api.github.com/repos/spokrovskiy/countdown/stargazers","contributors_url":"https://api.github.com/repos/spokrovskiy/countdown/contributors","subscribers_url":"https://api.github.com/repos/spokrovskiy/countdown/subscribers","subscription_url":"https://api.github.com/repos/spokrovskiy/countdown/subscription","commits_url":"https://api.github.com/repos/spokrovskiy/countdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/spokrovskiy/countdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/spokrovskiy/countdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/spokrovskiy/countdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/spokrovskiy/countdown/contents/{+path}","compare_url":"https://api.github.com/repos/spokrovskiy/countdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spokrovskiy/countdown/merges","archive_url":"https://api.github.com/repos/spokrovskiy/countdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spokrovskiy/countdown/downloads","issues_url":"https://api.github.com/repos/spokrovskiy/countdown/issues{/number}","pulls_url":"https://api.github.com/repos/spokrovskiy/countdown/pulls{/number}","milestones_url":"https://api.github.com/repos/spokrovskiy/countdown/milestones{/number}","notifications_url":"https://api.github.com/repos/spokrovskiy/countdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spokrovskiy/countdown/labels{/name}","releases_url":"https://api.github.com/repos/spokrovskiy/countdown/releases{/id}","deployments_url":"https://api.github.com/repos/spokrovskiy/countdown/deployments","created_at":"2016-07-18T14:11:49Z","updated_at":"2016-07-18T14:15:07Z","pushed_at":"2017-11-10T20:11:05Z","git_url":"git://github.com/spokrovskiy/countdown.git","ssh_url":"git@github.com:spokrovskiy/countdown.git","clone_url":"https://github.com/spokrovskiy/countdown.git","svn_url":"https://github.com/spokrovskiy/countdown","homepage":null,"size":1654,"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,"archived":false,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35"},"html":{"href":"https://github.com/spokrovskiy/countdown/pull/35"},"issue":{"href":"https://api.github.com/repos/spokrovskiy/countdown/issues/35"},"comments":{"href":"https://api.github.com/repos/spokrovskiy/countdown/issues/35/comments"},"review_comments":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35/comments"},"review_comment":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spokrovskiy/countdown/pulls/35/commits"},"statuses":{"href":"https://api.github.com/repos/spokrovskiy/countdown/statuses/4db2cf7c17a916e3c2f6838e06798e7f89270fee"}},"author_association":"OWNER"}}
{"actor":{"display_login":"houndci-bot"}}