{"action":"created","comment":{"url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/comments/55288946","id":55288946,"diff_hunk":"@@ -68,11 +70,17 @@ module.exports = React.createClass({\n   },\n \n   onSuccess: function(res) {\n+    console.log(res)\n+\n     this.setState({\n       isLoading: false,\n       total: res.total_amount_cents.sum ? res.total_amount_cents.sum + this.props.offset : 0,\n       goal: res.goal\n     });\n+\n+    if (typeof this.props.onLoad === 'function') {","path":"src/components/totals/EntityGoalProgress/index.js","position":28,"original_position":28,"commit_id":"d40a3429dd93ceecc9064e1ebb326e6e6f43f4af","original_commit_id":"d40a3429dd93ceecc9064e1ebb326e6e6f43f4af","user":{"login":"ellsclytn","id":8725013,"avatar_url":"https://avatars.githubusercontent.com/u/8725013?v=3","gravatar_id":"","url":"https://api.github.com/users/ellsclytn","html_url":"https://github.com/ellsclytn","followers_url":"https://api.github.com/users/ellsclytn/followers","following_url":"https://api.github.com/users/ellsclytn/following{/other_user}","gists_url":"https://api.github.com/users/ellsclytn/gists{/gist_id}","starred_url":"https://api.github.com/users/ellsclytn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellsclytn/subscriptions","organizations_url":"https://api.github.com/users/ellsclytn/orgs","repos_url":"https://api.github.com/users/ellsclytn/repos","events_url":"https://api.github.com/users/ellsclytn/events{/privacy}","received_events_url":"https://api.github.com/users/ellsclytn/received_events","type":"User","site_admin":false},"body":"We thought this would be worth keeping, just in case of the (hopefully) unlikely situation where someone writes something that isn't a function as the `onLoad` property.","created_at":"2016-03-07T23:01:34Z","updated_at":"2016-03-07T23:01:34Z","html_url":"https://github.com/everydayhero/react-widgets/pull/388#discussion_r55288946","pull_request_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388","_links":{"self":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/comments/55288946"},"html":{"href":"https://github.com/everydayhero/react-widgets/pull/388#discussion_r55288946"},"pull_request":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388"}}},"pull_request":{"url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388","id":61880626,"html_url":"https://github.com/everydayhero/react-widgets/pull/388","diff_url":"https://github.com/everydayhero/react-widgets/pull/388.diff","patch_url":"https://github.com/everydayhero/react-widgets/pull/388.patch","issue_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/388","number":388,"state":"open","locked":false,"title":"Add callback to EntityProgress","user":{"login":"ellsclytn","id":8725013,"avatar_url":"https://avatars.githubusercontent.com/u/8725013?v=3","gravatar_id":"","url":"https://api.github.com/users/ellsclytn","html_url":"https://github.com/ellsclytn","followers_url":"https://api.github.com/users/ellsclytn/followers","following_url":"https://api.github.com/users/ellsclytn/following{/other_user}","gists_url":"https://api.github.com/users/ellsclytn/gists{/gist_id}","starred_url":"https://api.github.com/users/ellsclytn/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ellsclytn/subscriptions","organizations_url":"https://api.github.com/users/ellsclytn/orgs","repos_url":"https://api.github.com/users/ellsclytn/repos","events_url":"https://api.github.com/users/ellsclytn/events{/privacy}","received_events_url":"https://api.github.com/users/ellsclytn/received_events","type":"User","site_admin":false},"body":"Adds a callback containing endpoint response data.","created_at":"2016-03-07T07:16:05Z","updated_at":"2016-03-07T23:01:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":"77f3c35e3edb55734aa36bdbbd3b8cfeacda66c1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388/commits","review_comments_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388/comments","review_comment_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls/comments{/number}","comments_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/388/comments","statuses_url":"https://api.github.com/repos/everydayhero/react-widgets/statuses/d40a3429dd93ceecc9064e1ebb326e6e6f43f4af","head":{"label":"everydayhero:ec-progress-bar-data","ref":"ec-progress-bar-data","sha":"d40a3429dd93ceecc9064e1ebb326e6e6f43f4af","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":25183328,"name":"react-widgets","full_name":"everydayhero/react-widgets","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/react-widgets","description":"react-widgets","fork":false,"url":"https://api.github.com/repos/everydayhero/react-widgets","forks_url":"https://api.github.com/repos/everydayhero/react-widgets/forks","keys_url":"https://api.github.com/repos/everydayhero/react-widgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/react-widgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/react-widgets/teams","hooks_url":"https://api.github.com/repos/everydayhero/react-widgets/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/react-widgets/events","assignees_url":"https://api.github.com/repos/everydayhero/react-widgets/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/react-widgets/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/react-widgets/tags","blobs_url":"https://api.github.com/repos/everydayhero/react-widgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/react-widgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/react-widgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/react-widgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/react-widgets/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/react-widgets/languages","stargazers_url":"https://api.github.com/repos/everydayhero/react-widgets/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/react-widgets/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/react-widgets/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/react-widgets/subscription","commits_url":"https://api.github.com/repos/everydayhero/react-widgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/react-widgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/react-widgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/react-widgets/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/react-widgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/react-widgets/merges","archive_url":"https://api.github.com/repos/everydayhero/react-widgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/react-widgets/downloads","issues_url":"https://api.github.com/repos/everydayhero/react-widgets/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/react-widgets/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/react-widgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/react-widgets/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/react-widgets/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/react-widgets/deployments","created_at":"2014-10-14T00:16:40Z","updated_at":"2016-01-12T04:58:25Z","pushed_at":"2016-03-07T09:30:40Z","git_url":"git://github.com/everydayhero/react-widgets.git","ssh_url":"git@github.com:everydayhero/react-widgets.git","clone_url":"https://github.com/everydayhero/react-widgets.git","svn_url":"https://github.com/everydayhero/react-widgets","homepage":null,"size":2269,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":3,"default_branch":"master"}},"base":{"label":"everydayhero:master","ref":"master","sha":"456b7066bd4e29971fe9479420e6739e06ed4162","user":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"repo":{"id":25183328,"name":"react-widgets","full_name":"everydayhero/react-widgets","owner":{"login":"everydayhero","id":558383,"avatar_url":"https://avatars.githubusercontent.com/u/558383?v=3","gravatar_id":"","url":"https://api.github.com/users/everydayhero","html_url":"https://github.com/everydayhero","followers_url":"https://api.github.com/users/everydayhero/followers","following_url":"https://api.github.com/users/everydayhero/following{/other_user}","gists_url":"https://api.github.com/users/everydayhero/gists{/gist_id}","starred_url":"https://api.github.com/users/everydayhero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/everydayhero/subscriptions","organizations_url":"https://api.github.com/users/everydayhero/orgs","repos_url":"https://api.github.com/users/everydayhero/repos","events_url":"https://api.github.com/users/everydayhero/events{/privacy}","received_events_url":"https://api.github.com/users/everydayhero/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/everydayhero/react-widgets","description":"react-widgets","fork":false,"url":"https://api.github.com/repos/everydayhero/react-widgets","forks_url":"https://api.github.com/repos/everydayhero/react-widgets/forks","keys_url":"https://api.github.com/repos/everydayhero/react-widgets/keys{/key_id}","collaborators_url":"https://api.github.com/repos/everydayhero/react-widgets/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/everydayhero/react-widgets/teams","hooks_url":"https://api.github.com/repos/everydayhero/react-widgets/hooks","issue_events_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/events{/number}","events_url":"https://api.github.com/repos/everydayhero/react-widgets/events","assignees_url":"https://api.github.com/repos/everydayhero/react-widgets/assignees{/user}","branches_url":"https://api.github.com/repos/everydayhero/react-widgets/branches{/branch}","tags_url":"https://api.github.com/repos/everydayhero/react-widgets/tags","blobs_url":"https://api.github.com/repos/everydayhero/react-widgets/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/everydayhero/react-widgets/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/everydayhero/react-widgets/git/refs{/sha}","trees_url":"https://api.github.com/repos/everydayhero/react-widgets/git/trees{/sha}","statuses_url":"https://api.github.com/repos/everydayhero/react-widgets/statuses/{sha}","languages_url":"https://api.github.com/repos/everydayhero/react-widgets/languages","stargazers_url":"https://api.github.com/repos/everydayhero/react-widgets/stargazers","contributors_url":"https://api.github.com/repos/everydayhero/react-widgets/contributors","subscribers_url":"https://api.github.com/repos/everydayhero/react-widgets/subscribers","subscription_url":"https://api.github.com/repos/everydayhero/react-widgets/subscription","commits_url":"https://api.github.com/repos/everydayhero/react-widgets/commits{/sha}","git_commits_url":"https://api.github.com/repos/everydayhero/react-widgets/git/commits{/sha}","comments_url":"https://api.github.com/repos/everydayhero/react-widgets/comments{/number}","issue_comment_url":"https://api.github.com/repos/everydayhero/react-widgets/issues/comments{/number}","contents_url":"https://api.github.com/repos/everydayhero/react-widgets/contents/{+path}","compare_url":"https://api.github.com/repos/everydayhero/react-widgets/compare/{base}...{head}","merges_url":"https://api.github.com/repos/everydayhero/react-widgets/merges","archive_url":"https://api.github.com/repos/everydayhero/react-widgets/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/everydayhero/react-widgets/downloads","issues_url":"https://api.github.com/repos/everydayhero/react-widgets/issues{/number}","pulls_url":"https://api.github.com/repos/everydayhero/react-widgets/pulls{/number}","milestones_url":"https://api.github.com/repos/everydayhero/react-widgets/milestones{/number}","notifications_url":"https://api.github.com/repos/everydayhero/react-widgets/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/everydayhero/react-widgets/labels{/name}","releases_url":"https://api.github.com/repos/everydayhero/react-widgets/releases{/id}","deployments_url":"https://api.github.com/repos/everydayhero/react-widgets/deployments","created_at":"2014-10-14T00:16:40Z","updated_at":"2016-01-12T04:58:25Z","pushed_at":"2016-03-07T09:30:40Z","git_url":"git://github.com/everydayhero/react-widgets.git","ssh_url":"git@github.com:everydayhero/react-widgets.git","clone_url":"https://github.com/everydayhero/react-widgets.git","svn_url":"https://github.com/everydayhero/react-widgets","homepage":null,"size":2269,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":14,"forks":0,"open_issues":14,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388"},"html":{"href":"https://github.com/everydayhero/react-widgets/pull/388"},"issue":{"href":"https://api.github.com/repos/everydayhero/react-widgets/issues/388"},"comments":{"href":"https://api.github.com/repos/everydayhero/react-widgets/issues/388/comments"},"review_comments":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388/comments"},"review_comment":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/everydayhero/react-widgets/pulls/388/commits"},"statuses":{"href":"https://api.github.com/repos/everydayhero/react-widgets/statuses/d40a3429dd93ceecc9064e1ebb326e6e6f43f4af"}}}}