{"action":"created","comment":{"url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/comments/56686183","id":56686183,"diff_hunk":"@@ -34,6 +34,19 @@ describe('RootCloseWrapper', function () {\n     expect(spy).to.have.been.calledOnce;\n   });\n \n+  it('should not close when right-clicked outside', () => {\n+    let spy = sinon.spy();\n+    render(\n+      <RootCloseWrapper onRootClose={spy}>\n+        <div id='my-div'>hello there</div>\n+      </RootCloseWrapper>\n+    , mountPoint);\n+\n+    simulant.fire(document.getElementById('my-div'), 'click', {button: 1});\n+\n+    expect(spy).to.have.been.called;","path":"test/RootCloseSpec.js","position":null,"original_position":14,"commit_id":"96f31acfcdbe17a9d4a5c183e260cd4cb4c79424","original_commit_id":"5acecdf94bf055531eee50fd851b2d566eb0833a","user":{"login":"adamziel","id":205419,"avatar_url":"https://avatars.githubusercontent.com/u/205419?v=3","gravatar_id":"","url":"https://api.github.com/users/adamziel","html_url":"https://github.com/adamziel","followers_url":"https://api.github.com/users/adamziel/followers","following_url":"https://api.github.com/users/adamziel/following{/other_user}","gists_url":"https://api.github.com/users/adamziel/gists{/gist_id}","starred_url":"https://api.github.com/users/adamziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamziel/subscriptions","organizations_url":"https://api.github.com/users/adamziel/orgs","repos_url":"https://api.github.com/users/adamziel/repos","events_url":"https://api.github.com/users/adamziel/events{/privacy}","received_events_url":"https://api.github.com/users/adamziel/received_events","type":"User","site_admin":false},"body":"Yup, thanks","created_at":"2016-03-18T16:47:16Z","updated_at":"2016-03-18T16:47:16Z","html_url":"https://github.com/react-bootstrap/react-overlays/pull/69#discussion_r56686183","pull_request_url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69","_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/comments/56686183"},"html":{"href":"https://github.com/react-bootstrap/react-overlays/pull/69#discussion_r56686183"},"pull_request":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69"}}},"pull_request":{"url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69","id":63402217,"html_url":"https://github.com/react-bootstrap/react-overlays/pull/69","diff_url":"https://github.com/react-bootstrap/react-overlays/pull/69.diff","patch_url":"https://github.com/react-bootstrap/react-overlays/pull/69.patch","issue_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/69","number":69,"state":"open","locked":false,"title":"#68 don't close RootCloseWrapper on right clicks","user":{"login":"adamziel","id":205419,"avatar_url":"https://avatars.githubusercontent.com/u/205419?v=3","gravatar_id":"","url":"https://api.github.com/users/adamziel","html_url":"https://github.com/adamziel","followers_url":"https://api.github.com/users/adamziel/followers","following_url":"https://api.github.com/users/adamziel/following{/other_user}","gists_url":"https://api.github.com/users/adamziel/gists{/gist_id}","starred_url":"https://api.github.com/users/adamziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamziel/subscriptions","organizations_url":"https://api.github.com/users/adamziel/orgs","repos_url":"https://api.github.com/users/adamziel/repos","events_url":"https://api.github.com/users/adamziel/events{/privacy}","received_events_url":"https://api.github.com/users/adamziel/received_events","type":"User","site_admin":false},"body":"re #68 ","created_at":"2016-03-18T16:39:17Z","updated_at":"2016-03-18T16:47:16Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ff6241c53953166292f2316a234978c9ba6d56f0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69/commits","review_comments_url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69/comments","review_comment_url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/comments{/number}","comments_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/69/comments","statuses_url":"https://api.github.com/repos/react-bootstrap/react-overlays/statuses/96f31acfcdbe17a9d4a5c183e260cd4cb4c79424","head":{"label":"adamziel:adamziel-patch-1","ref":"adamziel-patch-1","sha":"96f31acfcdbe17a9d4a5c183e260cd4cb4c79424","user":{"login":"adamziel","id":205419,"avatar_url":"https://avatars.githubusercontent.com/u/205419?v=3","gravatar_id":"","url":"https://api.github.com/users/adamziel","html_url":"https://github.com/adamziel","followers_url":"https://api.github.com/users/adamziel/followers","following_url":"https://api.github.com/users/adamziel/following{/other_user}","gists_url":"https://api.github.com/users/adamziel/gists{/gist_id}","starred_url":"https://api.github.com/users/adamziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamziel/subscriptions","organizations_url":"https://api.github.com/users/adamziel/orgs","repos_url":"https://api.github.com/users/adamziel/repos","events_url":"https://api.github.com/users/adamziel/events{/privacy}","received_events_url":"https://api.github.com/users/adamziel/received_events","type":"User","site_admin":false},"repo":{"id":54215850,"name":"react-overlays","full_name":"adamziel/react-overlays","owner":{"login":"adamziel","id":205419,"avatar_url":"https://avatars.githubusercontent.com/u/205419?v=3","gravatar_id":"","url":"https://api.github.com/users/adamziel","html_url":"https://github.com/adamziel","followers_url":"https://api.github.com/users/adamziel/followers","following_url":"https://api.github.com/users/adamziel/following{/other_user}","gists_url":"https://api.github.com/users/adamziel/gists{/gist_id}","starred_url":"https://api.github.com/users/adamziel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamziel/subscriptions","organizations_url":"https://api.github.com/users/adamziel/orgs","repos_url":"https://api.github.com/users/adamziel/repos","events_url":"https://api.github.com/users/adamziel/events{/privacy}","received_events_url":"https://api.github.com/users/adamziel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/adamziel/react-overlays","description":"Utilities for creating robust overlay components","fork":true,"url":"https://api.github.com/repos/adamziel/react-overlays","forks_url":"https://api.github.com/repos/adamziel/react-overlays/forks","keys_url":"https://api.github.com/repos/adamziel/react-overlays/keys{/key_id}","collaborators_url":"https://api.github.com/repos/adamziel/react-overlays/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/adamziel/react-overlays/teams","hooks_url":"https://api.github.com/repos/adamziel/react-overlays/hooks","issue_events_url":"https://api.github.com/repos/adamziel/react-overlays/issues/events{/number}","events_url":"https://api.github.com/repos/adamziel/react-overlays/events","assignees_url":"https://api.github.com/repos/adamziel/react-overlays/assignees{/user}","branches_url":"https://api.github.com/repos/adamziel/react-overlays/branches{/branch}","tags_url":"https://api.github.com/repos/adamziel/react-overlays/tags","blobs_url":"https://api.github.com/repos/adamziel/react-overlays/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/adamziel/react-overlays/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/adamziel/react-overlays/git/refs{/sha}","trees_url":"https://api.github.com/repos/adamziel/react-overlays/git/trees{/sha}","statuses_url":"https://api.github.com/repos/adamziel/react-overlays/statuses/{sha}","languages_url":"https://api.github.com/repos/adamziel/react-overlays/languages","stargazers_url":"https://api.github.com/repos/adamziel/react-overlays/stargazers","contributors_url":"https://api.github.com/repos/adamziel/react-overlays/contributors","subscribers_url":"https://api.github.com/repos/adamziel/react-overlays/subscribers","subscription_url":"https://api.github.com/repos/adamziel/react-overlays/subscription","commits_url":"https://api.github.com/repos/adamziel/react-overlays/commits{/sha}","git_commits_url":"https://api.github.com/repos/adamziel/react-overlays/git/commits{/sha}","comments_url":"https://api.github.com/repos/adamziel/react-overlays/comments{/number}","issue_comment_url":"https://api.github.com/repos/adamziel/react-overlays/issues/comments{/number}","contents_url":"https://api.github.com/repos/adamziel/react-overlays/contents/{+path}","compare_url":"https://api.github.com/repos/adamziel/react-overlays/compare/{base}...{head}","merges_url":"https://api.github.com/repos/adamziel/react-overlays/merges","archive_url":"https://api.github.com/repos/adamziel/react-overlays/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/adamziel/react-overlays/downloads","issues_url":"https://api.github.com/repos/adamziel/react-overlays/issues{/number}","pulls_url":"https://api.github.com/repos/adamziel/react-overlays/pulls{/number}","milestones_url":"https://api.github.com/repos/adamziel/react-overlays/milestones{/number}","notifications_url":"https://api.github.com/repos/adamziel/react-overlays/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/adamziel/react-overlays/labels{/name}","releases_url":"https://api.github.com/repos/adamziel/react-overlays/releases{/id}","deployments_url":"https://api.github.com/repos/adamziel/react-overlays/deployments","created_at":"2016-03-18T16:27:40Z","updated_at":"2016-03-18T16:27:41Z","pushed_at":"2016-03-18T16:46:58Z","git_url":"git://github.com/adamziel/react-overlays.git","ssh_url":"git@github.com:adamziel/react-overlays.git","clone_url":"https://github.com/adamziel/react-overlays.git","svn_url":"https://github.com/adamziel/react-overlays","homepage":"http://react-bootstrap.github.io/react-overlays/examples/","size":1084,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"react-bootstrap:master","ref":"master","sha":"5f8d275def77fe6acd5f4ef6d57b765f83cf07c8","user":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"repo":{"id":39902314,"name":"react-overlays","full_name":"react-bootstrap/react-overlays","owner":{"login":"react-bootstrap","id":6853419,"avatar_url":"https://avatars.githubusercontent.com/u/6853419?v=3","gravatar_id":"","url":"https://api.github.com/users/react-bootstrap","html_url":"https://github.com/react-bootstrap","followers_url":"https://api.github.com/users/react-bootstrap/followers","following_url":"https://api.github.com/users/react-bootstrap/following{/other_user}","gists_url":"https://api.github.com/users/react-bootstrap/gists{/gist_id}","starred_url":"https://api.github.com/users/react-bootstrap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/react-bootstrap/subscriptions","organizations_url":"https://api.github.com/users/react-bootstrap/orgs","repos_url":"https://api.github.com/users/react-bootstrap/repos","events_url":"https://api.github.com/users/react-bootstrap/events{/privacy}","received_events_url":"https://api.github.com/users/react-bootstrap/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/react-bootstrap/react-overlays","description":"Utilities for creating robust overlay components","fork":false,"url":"https://api.github.com/repos/react-bootstrap/react-overlays","forks_url":"https://api.github.com/repos/react-bootstrap/react-overlays/forks","keys_url":"https://api.github.com/repos/react-bootstrap/react-overlays/keys{/key_id}","collaborators_url":"https://api.github.com/repos/react-bootstrap/react-overlays/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/react-bootstrap/react-overlays/teams","hooks_url":"https://api.github.com/repos/react-bootstrap/react-overlays/hooks","issue_events_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/events{/number}","events_url":"https://api.github.com/repos/react-bootstrap/react-overlays/events","assignees_url":"https://api.github.com/repos/react-bootstrap/react-overlays/assignees{/user}","branches_url":"https://api.github.com/repos/react-bootstrap/react-overlays/branches{/branch}","tags_url":"https://api.github.com/repos/react-bootstrap/react-overlays/tags","blobs_url":"https://api.github.com/repos/react-bootstrap/react-overlays/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/react-bootstrap/react-overlays/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/react-bootstrap/react-overlays/git/refs{/sha}","trees_url":"https://api.github.com/repos/react-bootstrap/react-overlays/git/trees{/sha}","statuses_url":"https://api.github.com/repos/react-bootstrap/react-overlays/statuses/{sha}","languages_url":"https://api.github.com/repos/react-bootstrap/react-overlays/languages","stargazers_url":"https://api.github.com/repos/react-bootstrap/react-overlays/stargazers","contributors_url":"https://api.github.com/repos/react-bootstrap/react-overlays/contributors","subscribers_url":"https://api.github.com/repos/react-bootstrap/react-overlays/subscribers","subscription_url":"https://api.github.com/repos/react-bootstrap/react-overlays/subscription","commits_url":"https://api.github.com/repos/react-bootstrap/react-overlays/commits{/sha}","git_commits_url":"https://api.github.com/repos/react-bootstrap/react-overlays/git/commits{/sha}","comments_url":"https://api.github.com/repos/react-bootstrap/react-overlays/comments{/number}","issue_comment_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/comments{/number}","contents_url":"https://api.github.com/repos/react-bootstrap/react-overlays/contents/{+path}","compare_url":"https://api.github.com/repos/react-bootstrap/react-overlays/compare/{base}...{head}","merges_url":"https://api.github.com/repos/react-bootstrap/react-overlays/merges","archive_url":"https://api.github.com/repos/react-bootstrap/react-overlays/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/react-bootstrap/react-overlays/downloads","issues_url":"https://api.github.com/repos/react-bootstrap/react-overlays/issues{/number}","pulls_url":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls{/number}","milestones_url":"https://api.github.com/repos/react-bootstrap/react-overlays/milestones{/number}","notifications_url":"https://api.github.com/repos/react-bootstrap/react-overlays/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/react-bootstrap/react-overlays/labels{/name}","releases_url":"https://api.github.com/repos/react-bootstrap/react-overlays/releases{/id}","deployments_url":"https://api.github.com/repos/react-bootstrap/react-overlays/deployments","created_at":"2015-07-29T15:51:50Z","updated_at":"2016-03-17T11:52:16Z","pushed_at":"2016-03-18T16:46:59Z","git_url":"git://github.com/react-bootstrap/react-overlays.git","ssh_url":"git@github.com:react-bootstrap/react-overlays.git","clone_url":"https://github.com/react-bootstrap/react-overlays.git","svn_url":"https://github.com/react-bootstrap/react-overlays","homepage":"http://react-bootstrap.github.io/react-overlays/examples/","size":1252,"stargazers_count":139,"watchers_count":139,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":41,"mirror_url":null,"open_issues_count":12,"forks":41,"open_issues":12,"watchers":139,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69"},"html":{"href":"https://github.com/react-bootstrap/react-overlays/pull/69"},"issue":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/69"},"comments":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/issues/69/comments"},"review_comments":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69/comments"},"review_comment":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/pulls/69/commits"},"statuses":{"href":"https://api.github.com/repos/react-bootstrap/react-overlays/statuses/96f31acfcdbe17a9d4a5c183e260cd4cb4c79424"}}}}