{"action":"created","comment":{"url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/comments/24087542","id":24087542,"diff_hunk":"@@ -0,0 +1,16 @@\n+function main(a, b) {\n+  switch (cond) {\n+  case \"one\":\n+    doSomething(); // JSHint will warn about missing 'break' here.\n+  case \"three\":\n+    doSomethingElse();","path":"test.js","position":6,"original_position":6,"commit_id":"665ab6e76a418423f6727ed5fddb86054fe7ac2a","original_commit_id":"a0551b6b116dcf5af675026268e206f6a49cb7f3","user":{"login":"linthubot","id":10566297,"avatar_url":"https://avatars.githubusercontent.com/u/10566297?v=3","gravatar_id":"","url":"https://api.github.com/users/linthubot","html_url":"https://github.com/linthubot","followers_url":"https://api.github.com/users/linthubot/followers","following_url":"https://api.github.com/users/linthubot/following{/other_user}","gists_url":"https://api.github.com/users/linthubot/gists{/gist_id}","starred_url":"https://api.github.com/users/linthubot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linthubot/subscriptions","organizations_url":"https://api.github.com/users/linthubot/orgs","repos_url":"https://api.github.com/users/linthubot/repos","events_url":"https://api.github.com/users/linthubot/events{/privacy}","received_events_url":"https://api.github.com/users/linthubot/received_events","type":"User","site_admin":false},"body":"****: &#39;doSomethingElse&#39; is not defined. (no-undef)","created_at":"2015-02-04T14:49:20Z","updated_at":"2015-02-04T14:49:20Z","html_url":"https://github.com/linthubot/linthub-demo/pull/1#discussion_r24087542","pull_request_url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/comments/24087542"},"html":{"href":"https://github.com/linthubot/linthub-demo/pull/1#discussion_r24087542"},"pull_request":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1","id":28018329,"html_url":"https://github.com/linthubot/linthub-demo/pull/1","diff_url":"https://github.com/linthubot/linthub-demo/pull/1.diff","patch_url":"https://github.com/linthubot/linthub-demo/pull/1.patch","issue_url":"https://api.github.com/repos/linthubot/linthub-demo/issues/1","number":1,"state":"open","locked":false,"title":"Create test.js","user":{"login":"nl5887","id":3748903,"avatar_url":"https://avatars.githubusercontent.com/u/3748903?v=3","gravatar_id":"","url":"https://api.github.com/users/nl5887","html_url":"https://github.com/nl5887","followers_url":"https://api.github.com/users/nl5887/followers","following_url":"https://api.github.com/users/nl5887/following{/other_user}","gists_url":"https://api.github.com/users/nl5887/gists{/gist_id}","starred_url":"https://api.github.com/users/nl5887/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nl5887/subscriptions","organizations_url":"https://api.github.com/users/nl5887/orgs","repos_url":"https://api.github.com/users/nl5887/repos","events_url":"https://api.github.com/users/nl5887/events{/privacy}","received_events_url":"https://api.github.com/users/nl5887/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-26T10:50:20Z","updated_at":"2015-02-04T14:49:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c23e8b6bd34a741eceedc64ec93a01862bed3ee6","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/linthubot/linthub-demo/pulls/comments/{number}","comments_url":"https://api.github.com/repos/linthubot/linthub-demo/issues/1/comments","statuses_url":"https://api.github.com/repos/linthubot/linthub-demo/statuses/665ab6e76a418423f6727ed5fddb86054fe7ac2a","head":{"label":"nl5887:master","ref":"master","sha":"665ab6e76a418423f6727ed5fddb86054fe7ac2a","user":{"login":"nl5887","id":3748903,"avatar_url":"https://avatars.githubusercontent.com/u/3748903?v=3","gravatar_id":"","url":"https://api.github.com/users/nl5887","html_url":"https://github.com/nl5887","followers_url":"https://api.github.com/users/nl5887/followers","following_url":"https://api.github.com/users/nl5887/following{/other_user}","gists_url":"https://api.github.com/users/nl5887/gists{/gist_id}","starred_url":"https://api.github.com/users/nl5887/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nl5887/subscriptions","organizations_url":"https://api.github.com/users/nl5887/orgs","repos_url":"https://api.github.com/users/nl5887/repos","events_url":"https://api.github.com/users/nl5887/events{/privacy}","received_events_url":"https://api.github.com/users/nl5887/received_events","type":"User","site_admin":false},"repo":{"id":29856764,"name":"linthub-demo","full_name":"nl5887/linthub-demo","owner":{"login":"nl5887","id":3748903,"avatar_url":"https://avatars.githubusercontent.com/u/3748903?v=3","gravatar_id":"","url":"https://api.github.com/users/nl5887","html_url":"https://github.com/nl5887","followers_url":"https://api.github.com/users/nl5887/followers","following_url":"https://api.github.com/users/nl5887/following{/other_user}","gists_url":"https://api.github.com/users/nl5887/gists{/gist_id}","starred_url":"https://api.github.com/users/nl5887/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nl5887/subscriptions","organizations_url":"https://api.github.com/users/nl5887/orgs","repos_url":"https://api.github.com/users/nl5887/repos","events_url":"https://api.github.com/users/nl5887/events{/privacy}","received_events_url":"https://api.github.com/users/nl5887/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nl5887/linthub-demo","description":"Demo repository for Linthub.io.","fork":true,"url":"https://api.github.com/repos/nl5887/linthub-demo","forks_url":"https://api.github.com/repos/nl5887/linthub-demo/forks","keys_url":"https://api.github.com/repos/nl5887/linthub-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nl5887/linthub-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nl5887/linthub-demo/teams","hooks_url":"https://api.github.com/repos/nl5887/linthub-demo/hooks","issue_events_url":"https://api.github.com/repos/nl5887/linthub-demo/issues/events{/number}","events_url":"https://api.github.com/repos/nl5887/linthub-demo/events","assignees_url":"https://api.github.com/repos/nl5887/linthub-demo/assignees{/user}","branches_url":"https://api.github.com/repos/nl5887/linthub-demo/branches{/branch}","tags_url":"https://api.github.com/repos/nl5887/linthub-demo/tags","blobs_url":"https://api.github.com/repos/nl5887/linthub-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nl5887/linthub-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nl5887/linthub-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/nl5887/linthub-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nl5887/linthub-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/nl5887/linthub-demo/languages","stargazers_url":"https://api.github.com/repos/nl5887/linthub-demo/stargazers","contributors_url":"https://api.github.com/repos/nl5887/linthub-demo/contributors","subscribers_url":"https://api.github.com/repos/nl5887/linthub-demo/subscribers","subscription_url":"https://api.github.com/repos/nl5887/linthub-demo/subscription","commits_url":"https://api.github.com/repos/nl5887/linthub-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/nl5887/linthub-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/nl5887/linthub-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/nl5887/linthub-demo/issues/comments/{number}","contents_url":"https://api.github.com/repos/nl5887/linthub-demo/contents/{+path}","compare_url":"https://api.github.com/repos/nl5887/linthub-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nl5887/linthub-demo/merges","archive_url":"https://api.github.com/repos/nl5887/linthub-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nl5887/linthub-demo/downloads","issues_url":"https://api.github.com/repos/nl5887/linthub-demo/issues{/number}","pulls_url":"https://api.github.com/repos/nl5887/linthub-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/nl5887/linthub-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/nl5887/linthub-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nl5887/linthub-demo/labels{/name}","releases_url":"https://api.github.com/repos/nl5887/linthub-demo/releases{/id}","created_at":"2015-01-26T10:46:57Z","updated_at":"2015-02-04T14:09:35Z","pushed_at":"2015-02-04T14:09:35Z","git_url":"git://github.com/nl5887/linthub-demo.git","ssh_url":"git@github.com:nl5887/linthub-demo.git","clone_url":"https://github.com/nl5887/linthub-demo.git","svn_url":"https://github.com/nl5887/linthub-demo","homepage":null,"size":185,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"linthubot:master","ref":"master","sha":"1ca125e0c57e54bf56bfeacb5d4ec7062034f0a8","user":{"login":"linthubot","id":10566297,"avatar_url":"https://avatars.githubusercontent.com/u/10566297?v=3","gravatar_id":"","url":"https://api.github.com/users/linthubot","html_url":"https://github.com/linthubot","followers_url":"https://api.github.com/users/linthubot/followers","following_url":"https://api.github.com/users/linthubot/following{/other_user}","gists_url":"https://api.github.com/users/linthubot/gists{/gist_id}","starred_url":"https://api.github.com/users/linthubot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linthubot/subscriptions","organizations_url":"https://api.github.com/users/linthubot/orgs","repos_url":"https://api.github.com/users/linthubot/repos","events_url":"https://api.github.com/users/linthubot/events{/privacy}","received_events_url":"https://api.github.com/users/linthubot/received_events","type":"User","site_admin":false},"repo":{"id":29855927,"name":"linthub-demo","full_name":"linthubot/linthub-demo","owner":{"login":"linthubot","id":10566297,"avatar_url":"https://avatars.githubusercontent.com/u/10566297?v=3","gravatar_id":"","url":"https://api.github.com/users/linthubot","html_url":"https://github.com/linthubot","followers_url":"https://api.github.com/users/linthubot/followers","following_url":"https://api.github.com/users/linthubot/following{/other_user}","gists_url":"https://api.github.com/users/linthubot/gists{/gist_id}","starred_url":"https://api.github.com/users/linthubot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linthubot/subscriptions","organizations_url":"https://api.github.com/users/linthubot/orgs","repos_url":"https://api.github.com/users/linthubot/repos","events_url":"https://api.github.com/users/linthubot/events{/privacy}","received_events_url":"https://api.github.com/users/linthubot/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/linthubot/linthub-demo","description":"Demo repository for Linthub.io.","fork":false,"url":"https://api.github.com/repos/linthubot/linthub-demo","forks_url":"https://api.github.com/repos/linthubot/linthub-demo/forks","keys_url":"https://api.github.com/repos/linthubot/linthub-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/linthubot/linthub-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/linthubot/linthub-demo/teams","hooks_url":"https://api.github.com/repos/linthubot/linthub-demo/hooks","issue_events_url":"https://api.github.com/repos/linthubot/linthub-demo/issues/events{/number}","events_url":"https://api.github.com/repos/linthubot/linthub-demo/events","assignees_url":"https://api.github.com/repos/linthubot/linthub-demo/assignees{/user}","branches_url":"https://api.github.com/repos/linthubot/linthub-demo/branches{/branch}","tags_url":"https://api.github.com/repos/linthubot/linthub-demo/tags","blobs_url":"https://api.github.com/repos/linthubot/linthub-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/linthubot/linthub-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/linthubot/linthub-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/linthubot/linthub-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/linthubot/linthub-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/linthubot/linthub-demo/languages","stargazers_url":"https://api.github.com/repos/linthubot/linthub-demo/stargazers","contributors_url":"https://api.github.com/repos/linthubot/linthub-demo/contributors","subscribers_url":"https://api.github.com/repos/linthubot/linthub-demo/subscribers","subscription_url":"https://api.github.com/repos/linthubot/linthub-demo/subscription","commits_url":"https://api.github.com/repos/linthubot/linthub-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/linthubot/linthub-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/linthubot/linthub-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/linthubot/linthub-demo/issues/comments/{number}","contents_url":"https://api.github.com/repos/linthubot/linthub-demo/contents/{+path}","compare_url":"https://api.github.com/repos/linthubot/linthub-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/linthubot/linthub-demo/merges","archive_url":"https://api.github.com/repos/linthubot/linthub-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/linthubot/linthub-demo/downloads","issues_url":"https://api.github.com/repos/linthubot/linthub-demo/issues{/number}","pulls_url":"https://api.github.com/repos/linthubot/linthub-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/linthubot/linthub-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/linthubot/linthub-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/linthubot/linthub-demo/labels{/name}","releases_url":"https://api.github.com/repos/linthubot/linthub-demo/releases{/id}","created_at":"2015-01-26T10:21:00Z","updated_at":"2015-02-04T12:55:19Z","pushed_at":"2015-02-02T19:28:36Z","git_url":"git://github.com/linthubot/linthub-demo.git","ssh_url":"git@github.com:linthubot/linthub-demo.git","clone_url":"https://github.com/linthubot/linthub-demo.git","svn_url":"https://github.com/linthubot/linthub-demo","homepage":null,"size":310,"stargazers_count":3,"watchers_count":3,"language":null,"has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":4,"forks":5,"open_issues":4,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1"},"html":{"href":"https://github.com/linthubot/linthub-demo/pull/1"},"issue":{"href":"https://api.github.com/repos/linthubot/linthub-demo/issues/1"},"comments":{"href":"https://api.github.com/repos/linthubot/linthub-demo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/linthubot/linthub-demo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/linthubot/linthub-demo/statuses/665ab6e76a418423f6727ed5fddb86054fe7ac2a"}}}}