GitHub PullRequestReviewCommentEvent at 2014-05-21 14:49:16
Repository: varify
Actor: naegelyd
Payload: {"comment":{"url":"https://api.github.com/repos/cbmi/varify/pulls/comments/12899916","id":12899916,"diff_hunk":"@@ -260,9 +192,7 @@ define([\n                 this.ui.headerLabel.text('Phenotypes');\n \n                 if (samples.length === 0) this.ui.error.html(this.alerts.missingSample);","path":"varify/static/js/src/ui/modals/phenotype.js","position":260,"original_position":260,"commit_id":"11dc264c4a7496786cef20497e861d755a425c5c","original_commit_id":"11dc264c4a7496786cef20497e861d755a425c5c","user":{"login":"naegelyd","id":3911912,"avatar_url":"https://avatars.githubusercontent.com/u/3911912?","gravatar_id":"f2b6f2cec914521893ab3f5de23d1a4c","url":"https://api.github.com/users/naegelyd","html_url":"https://github.com/naegelyd","followers_url":"https://api.github.com/users/naegelyd/followers","following_url":"https://api.github.com/users/naegelyd/following{/other_user}","gists_url":"https://api.github.com/users/naegelyd/gists{/gist_id}","starred_url":"https://api.github.com/users/naegelyd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/naegelyd/subscriptions","organizations_url":"https://api.github.com/users/naegelyd/orgs","repos_url":"https://api.github.com/users/naegelyd/repos","events_url":"https://api.github.com/users/naegelyd/events{/privacy}","received_events_url":"https://api.github.com/users/naegelyd/received_events","type":"User","site_admin":false},"body":"Make this a standard if/else block of the form\r\n\r\n```javascript\r\nif (sample.length === 0) {\r\n...\r\n}\r\nelse {\r\n...\r\n}\r\n```","created_at":"2014-05-21T14:49:16Z","updated_at":"2014-05-21T14:49:16Z","html_url":"https://github.com/cbmi/varify/pull/302#discussion_r12899916","pull_request_url":"https://api.github.com/repos/cbmi/varify/pulls/302","_links":{"self":{"href":"https://api.github.com/repos/cbmi/varify/pulls/comments/12899916"},"html":{"href":"https://github.com/cbmi/varify/pull/302#discussion_r12899916"},"pull_request":{"href":"https://api.github.com/repos/cbmi/varify/pulls/302"}}}}