{"action":"created","comment":{"url":"https://api.github.com/repos/chili-epfl/FROG/pulls/comments/89999779","pull_request_review_id":10524754,"id":89999779,"diff_hunk":"@@ -108,6 +109,62 @@ const StudentView = ( { user, sessions, products } ) => {\n   </div>\n )}\n \n+var TimerExample = React.createClass({\n+\n+    getInitialState: function(){\n+\n+        // This is called before our render function. The object that is \n+        // returned is assigned to this.state, so we can use it later.\n+\n+        return { elapsed: 0 };\n+    },\n+\n+    componentDidMount: function(){\n+\n+        // componentDidMount is called by react when the component \n+        // has been rendered on the page. We can set the interval here:\n+\n+        this.timer = setInterval(this.tick, 50);\n+    },\n+\n+    componentWillUnmount: function(){\n+\n+        // This method is called immediately before the component is removed\n+        // from the page and destroyed. We can clear the interval here:\n+\n+        clearInterval(this.timer);\n+    },\n+\n+    tick: function(){\n+\n+        // This function is called every 50 ms. It updates the \n+        // elapsed counter. Calling setState causes the component to be re-rendered\n+\n+        this.setState({elapsed: new Date() - this.props.start});\n+    },","path":"frog/imports/ui/StudentView.jsx","position":46,"original_position":46,"commit_id":"749c854e4ba8d870af262859077f681ba74a3aef","original_commit_id":"749c854e4ba8d870af262859077f681ba74a3aef","user":{"login":"houshuang","id":61575,"avatar_url":"https://avatars.githubusercontent.com/u/61575?v=3","gravatar_id":"","url":"https://api.github.com/users/houshuang","html_url":"https://github.com/houshuang","followers_url":"https://api.github.com/users/houshuang/followers","following_url":"https://api.github.com/users/houshuang/following{/other_user}","gists_url":"https://api.github.com/users/houshuang/gists{/gist_id}","starred_url":"https://api.github.com/users/houshuang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/houshuang/subscriptions","organizations_url":"https://api.github.com/users/houshuang/orgs","repos_url":"https://api.github.com/users/houshuang/repos","events_url":"https://api.github.com/users/houshuang/events{/privacy}","received_events_url":"https://api.github.com/users/houshuang/received_events","type":"User","site_admin":false},"body":"OK, I had a bit of time in a boring presentation - check out #44 :)","created_at":"2016-11-29T12:34:12Z","updated_at":"2016-11-29T12:34:12Z","html_url":"https://github.com/chili-epfl/FROG/pull/43#discussion_r89999779","pull_request_url":"https://api.github.com/repos/chili-epfl/FROG/pulls/43","_links":{"self":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/comments/89999779"},"html":{"href":"https://github.com/chili-epfl/FROG/pull/43#discussion_r89999779"},"pull_request":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/43"}}},"pull_request":{"url":"https://api.github.com/repos/chili-epfl/FROG/pulls/43","id":95506256,"html_url":"https://github.com/chili-epfl/FROG/pull/43","diff_url":"https://github.com/chili-epfl/FROG/pull/43.diff","patch_url":"https://github.com/chili-epfl/FROG/pull/43.patch","issue_url":"https://api.github.com/repos/chili-epfl/FROG/issues/43","number":43,"state":"open","locked":false,"title":"Issue 41","user":{"login":"KhalilMrini","id":11042966,"avatar_url":"https://avatars.githubusercontent.com/u/11042966?v=3","gravatar_id":"","url":"https://api.github.com/users/KhalilMrini","html_url":"https://github.com/KhalilMrini","followers_url":"https://api.github.com/users/KhalilMrini/followers","following_url":"https://api.github.com/users/KhalilMrini/following{/other_user}","gists_url":"https://api.github.com/users/KhalilMrini/gists{/gist_id}","starred_url":"https://api.github.com/users/KhalilMrini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KhalilMrini/subscriptions","organizations_url":"https://api.github.com/users/KhalilMrini/orgs","repos_url":"https://api.github.com/users/KhalilMrini/repos","events_url":"https://api.github.com/users/KhalilMrini/events{/privacy}","received_events_url":"https://api.github.com/users/KhalilMrini/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-11-28T14:17:32Z","updated_at":"2016-11-29T12:34:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"48b67d4110f3c58ff98c37935311cbee255b7cae","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/chili-epfl/FROG/pulls/43/commits","review_comments_url":"https://api.github.com/repos/chili-epfl/FROG/pulls/43/comments","review_comment_url":"https://api.github.com/repos/chili-epfl/FROG/pulls/comments{/number}","comments_url":"https://api.github.com/repos/chili-epfl/FROG/issues/43/comments","statuses_url":"https://api.github.com/repos/chili-epfl/FROG/statuses/749c854e4ba8d870af262859077f681ba74a3aef","head":{"label":"chili-epfl:issue-41","ref":"issue-41","sha":"749c854e4ba8d870af262859077f681ba74a3aef","user":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"repo":{"id":69227223,"name":"FROG","full_name":"chili-epfl/FROG","owner":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chili-epfl/FROG","description":"Fabricating and running orchestration graphs","fork":false,"url":"https://api.github.com/repos/chili-epfl/FROG","forks_url":"https://api.github.com/repos/chili-epfl/FROG/forks","keys_url":"https://api.github.com/repos/chili-epfl/FROG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chili-epfl/FROG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chili-epfl/FROG/teams","hooks_url":"https://api.github.com/repos/chili-epfl/FROG/hooks","issue_events_url":"https://api.github.com/repos/chili-epfl/FROG/issues/events{/number}","events_url":"https://api.github.com/repos/chili-epfl/FROG/events","assignees_url":"https://api.github.com/repos/chili-epfl/FROG/assignees{/user}","branches_url":"https://api.github.com/repos/chili-epfl/FROG/branches{/branch}","tags_url":"https://api.github.com/repos/chili-epfl/FROG/tags","blobs_url":"https://api.github.com/repos/chili-epfl/FROG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chili-epfl/FROG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chili-epfl/FROG/git/refs{/sha}","trees_url":"https://api.github.com/repos/chili-epfl/FROG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chili-epfl/FROG/statuses/{sha}","languages_url":"https://api.github.com/repos/chili-epfl/FROG/languages","stargazers_url":"https://api.github.com/repos/chili-epfl/FROG/stargazers","contributors_url":"https://api.github.com/repos/chili-epfl/FROG/contributors","subscribers_url":"https://api.github.com/repos/chili-epfl/FROG/subscribers","subscription_url":"https://api.github.com/repos/chili-epfl/FROG/subscription","commits_url":"https://api.github.com/repos/chili-epfl/FROG/commits{/sha}","git_commits_url":"https://api.github.com/repos/chili-epfl/FROG/git/commits{/sha}","comments_url":"https://api.github.com/repos/chili-epfl/FROG/comments{/number}","issue_comment_url":"https://api.github.com/repos/chili-epfl/FROG/issues/comments{/number}","contents_url":"https://api.github.com/repos/chili-epfl/FROG/contents/{+path}","compare_url":"https://api.github.com/repos/chili-epfl/FROG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chili-epfl/FROG/merges","archive_url":"https://api.github.com/repos/chili-epfl/FROG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chili-epfl/FROG/downloads","issues_url":"https://api.github.com/repos/chili-epfl/FROG/issues{/number}","pulls_url":"https://api.github.com/repos/chili-epfl/FROG/pulls{/number}","milestones_url":"https://api.github.com/repos/chili-epfl/FROG/milestones{/number}","notifications_url":"https://api.github.com/repos/chili-epfl/FROG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chili-epfl/FROG/labels{/name}","releases_url":"https://api.github.com/repos/chili-epfl/FROG/releases{/id}","deployments_url":"https://api.github.com/repos/chili-epfl/FROG/deployments","created_at":"2016-09-26T08:04:42Z","updated_at":"2016-10-26T22:01:52Z","pushed_at":"2016-11-29T12:33:44Z","git_url":"git://github.com/chili-epfl/FROG.git","ssh_url":"git@github.com:chili-epfl/FROG.git","clone_url":"https://github.com/chili-epfl/FROG.git","svn_url":"https://github.com/chili-epfl/FROG","homepage":null,"size":938,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"develop"}},"base":{"label":"chili-epfl:develop","ref":"develop","sha":"2d0e0a59d4a5976a39a171006ab898155d7da61c","user":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"repo":{"id":69227223,"name":"FROG","full_name":"chili-epfl/FROG","owner":{"login":"chili-epfl","id":4435210,"avatar_url":"https://avatars.githubusercontent.com/u/4435210?v=3","gravatar_id":"","url":"https://api.github.com/users/chili-epfl","html_url":"https://github.com/chili-epfl","followers_url":"https://api.github.com/users/chili-epfl/followers","following_url":"https://api.github.com/users/chili-epfl/following{/other_user}","gists_url":"https://api.github.com/users/chili-epfl/gists{/gist_id}","starred_url":"https://api.github.com/users/chili-epfl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chili-epfl/subscriptions","organizations_url":"https://api.github.com/users/chili-epfl/orgs","repos_url":"https://api.github.com/users/chili-epfl/repos","events_url":"https://api.github.com/users/chili-epfl/events{/privacy}","received_events_url":"https://api.github.com/users/chili-epfl/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/chili-epfl/FROG","description":"Fabricating and running orchestration graphs","fork":false,"url":"https://api.github.com/repos/chili-epfl/FROG","forks_url":"https://api.github.com/repos/chili-epfl/FROG/forks","keys_url":"https://api.github.com/repos/chili-epfl/FROG/keys{/key_id}","collaborators_url":"https://api.github.com/repos/chili-epfl/FROG/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/chili-epfl/FROG/teams","hooks_url":"https://api.github.com/repos/chili-epfl/FROG/hooks","issue_events_url":"https://api.github.com/repos/chili-epfl/FROG/issues/events{/number}","events_url":"https://api.github.com/repos/chili-epfl/FROG/events","assignees_url":"https://api.github.com/repos/chili-epfl/FROG/assignees{/user}","branches_url":"https://api.github.com/repos/chili-epfl/FROG/branches{/branch}","tags_url":"https://api.github.com/repos/chili-epfl/FROG/tags","blobs_url":"https://api.github.com/repos/chili-epfl/FROG/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/chili-epfl/FROG/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/chili-epfl/FROG/git/refs{/sha}","trees_url":"https://api.github.com/repos/chili-epfl/FROG/git/trees{/sha}","statuses_url":"https://api.github.com/repos/chili-epfl/FROG/statuses/{sha}","languages_url":"https://api.github.com/repos/chili-epfl/FROG/languages","stargazers_url":"https://api.github.com/repos/chili-epfl/FROG/stargazers","contributors_url":"https://api.github.com/repos/chili-epfl/FROG/contributors","subscribers_url":"https://api.github.com/repos/chili-epfl/FROG/subscribers","subscription_url":"https://api.github.com/repos/chili-epfl/FROG/subscription","commits_url":"https://api.github.com/repos/chili-epfl/FROG/commits{/sha}","git_commits_url":"https://api.github.com/repos/chili-epfl/FROG/git/commits{/sha}","comments_url":"https://api.github.com/repos/chili-epfl/FROG/comments{/number}","issue_comment_url":"https://api.github.com/repos/chili-epfl/FROG/issues/comments{/number}","contents_url":"https://api.github.com/repos/chili-epfl/FROG/contents/{+path}","compare_url":"https://api.github.com/repos/chili-epfl/FROG/compare/{base}...{head}","merges_url":"https://api.github.com/repos/chili-epfl/FROG/merges","archive_url":"https://api.github.com/repos/chili-epfl/FROG/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/chili-epfl/FROG/downloads","issues_url":"https://api.github.com/repos/chili-epfl/FROG/issues{/number}","pulls_url":"https://api.github.com/repos/chili-epfl/FROG/pulls{/number}","milestones_url":"https://api.github.com/repos/chili-epfl/FROG/milestones{/number}","notifications_url":"https://api.github.com/repos/chili-epfl/FROG/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/chili-epfl/FROG/labels{/name}","releases_url":"https://api.github.com/repos/chili-epfl/FROG/releases{/id}","deployments_url":"https://api.github.com/repos/chili-epfl/FROG/deployments","created_at":"2016-09-26T08:04:42Z","updated_at":"2016-10-26T22:01:52Z","pushed_at":"2016-11-29T12:33:44Z","git_url":"git://github.com/chili-epfl/FROG.git","ssh_url":"git@github.com:chili-epfl/FROG.git","clone_url":"https://github.com/chili-epfl/FROG.git","svn_url":"https://github.com/chili-epfl/FROG","homepage":null,"size":938,"stargazers_count":2,"watchers_count":2,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":10,"forks":1,"open_issues":10,"watchers":2,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/43"},"html":{"href":"https://github.com/chili-epfl/FROG/pull/43"},"issue":{"href":"https://api.github.com/repos/chili-epfl/FROG/issues/43"},"comments":{"href":"https://api.github.com/repos/chili-epfl/FROG/issues/43/comments"},"review_comments":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/43/comments"},"review_comment":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/chili-epfl/FROG/pulls/43/commits"},"statuses":{"href":"https://api.github.com/repos/chili-epfl/FROG/statuses/749c854e4ba8d870af262859077f681ba74a3aef"}}}}
{"actor":{"display_login":"houshuang"}}