{"action":"opened","number":27,"pull_request":{"url":"https://api.github.com/repos/guardian/tools-components/pulls/27","id":33249561,"html_url":"https://github.com/guardian/tools-components/pull/27","diff_url":"https://github.com/guardian/tools-components/pull/27.diff","patch_url":"https://github.com/guardian/tools-components/pull/27.patch","issue_url":"https://api.github.com/repos/guardian/tools-components/issues/27","number":27,"state":"open","locked":false,"title":"Modal","user":{"login":"cutandpastey","id":1975139,"avatar_url":"https://avatars.githubusercontent.com/u/1975139?v=3","gravatar_id":"","url":"https://api.github.com/users/cutandpastey","html_url":"https://github.com/cutandpastey","followers_url":"https://api.github.com/users/cutandpastey/followers","following_url":"https://api.github.com/users/cutandpastey/following{/other_user}","gists_url":"https://api.github.com/users/cutandpastey/gists{/gist_id}","starred_url":"https://api.github.com/users/cutandpastey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cutandpastey/subscriptions","organizations_url":"https://api.github.com/users/cutandpastey/orgs","repos_url":"https://api.github.com/users/cutandpastey/repos","events_url":"https://api.github.com/users/cutandpastey/events{/privacy}","received_events_url":"https://api.github.com/users/cutandpastey/received_events","type":"User","site_admin":false},"body":"This PR introduces a generic modal with `esc` key bindings for closing it.","created_at":"2015-04-14T11:48:20Z","updated_at":"2015-04-14T11:48:20Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/guardian/tools-components/pulls/27/commits","review_comments_url":"https://api.github.com/repos/guardian/tools-components/pulls/27/comments","review_comment_url":"https://api.github.com/repos/guardian/tools-components/pulls/comments{/number}","comments_url":"https://api.github.com/repos/guardian/tools-components/issues/27/comments","statuses_url":"https://api.github.com/repos/guardian/tools-components/statuses/ba9fce6e6fb1ca6c24969daa1a0efa7bd2e78f19","head":{"label":"guardian:jp-modal","ref":"jp-modal","sha":"ba9fce6e6fb1ca6c24969daa1a0efa7bd2e78f19","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":32082112,"name":"tools-components","full_name":"guardian/tools-components","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/tools-components","description":"","fork":false,"url":"https://api.github.com/repos/guardian/tools-components","forks_url":"https://api.github.com/repos/guardian/tools-components/forks","keys_url":"https://api.github.com/repos/guardian/tools-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/tools-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/tools-components/teams","hooks_url":"https://api.github.com/repos/guardian/tools-components/hooks","issue_events_url":"https://api.github.com/repos/guardian/tools-components/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/tools-components/events","assignees_url":"https://api.github.com/repos/guardian/tools-components/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/tools-components/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/tools-components/tags","blobs_url":"https://api.github.com/repos/guardian/tools-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/tools-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/tools-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/tools-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/tools-components/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/tools-components/languages","stargazers_url":"https://api.github.com/repos/guardian/tools-components/stargazers","contributors_url":"https://api.github.com/repos/guardian/tools-components/contributors","subscribers_url":"https://api.github.com/repos/guardian/tools-components/subscribers","subscription_url":"https://api.github.com/repos/guardian/tools-components/subscription","commits_url":"https://api.github.com/repos/guardian/tools-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/tools-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/tools-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/tools-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/tools-components/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/tools-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/tools-components/merges","archive_url":"https://api.github.com/repos/guardian/tools-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/tools-components/downloads","issues_url":"https://api.github.com/repos/guardian/tools-components/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/tools-components/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/tools-components/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/tools-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/tools-components/labels{/name}","releases_url":"https://api.github.com/repos/guardian/tools-components/releases{/id}","created_at":"2015-03-12T14:42:38Z","updated_at":"2015-04-14T10:39:10Z","pushed_at":"2015-04-14T11:47:25Z","git_url":"git://github.com/guardian/tools-components.git","ssh_url":"git@github.com:guardian/tools-components.git","clone_url":"https://github.com/guardian/tools-components.git","svn_url":"https://github.com/guardian/tools-components","homepage":null,"size":1392,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"guardian:master","ref":"master","sha":"6a581c871966fd2f4851399f6d686c20f46291dc","user":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"repo":{"id":32082112,"name":"tools-components","full_name":"guardian/tools-components","owner":{"login":"guardian","id":164318,"avatar_url":"https://avatars.githubusercontent.com/u/164318?v=3","gravatar_id":"","url":"https://api.github.com/users/guardian","html_url":"https://github.com/guardian","followers_url":"https://api.github.com/users/guardian/followers","following_url":"https://api.github.com/users/guardian/following{/other_user}","gists_url":"https://api.github.com/users/guardian/gists{/gist_id}","starred_url":"https://api.github.com/users/guardian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/guardian/subscriptions","organizations_url":"https://api.github.com/users/guardian/orgs","repos_url":"https://api.github.com/users/guardian/repos","events_url":"https://api.github.com/users/guardian/events{/privacy}","received_events_url":"https://api.github.com/users/guardian/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/guardian/tools-components","description":"","fork":false,"url":"https://api.github.com/repos/guardian/tools-components","forks_url":"https://api.github.com/repos/guardian/tools-components/forks","keys_url":"https://api.github.com/repos/guardian/tools-components/keys{/key_id}","collaborators_url":"https://api.github.com/repos/guardian/tools-components/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/guardian/tools-components/teams","hooks_url":"https://api.github.com/repos/guardian/tools-components/hooks","issue_events_url":"https://api.github.com/repos/guardian/tools-components/issues/events{/number}","events_url":"https://api.github.com/repos/guardian/tools-components/events","assignees_url":"https://api.github.com/repos/guardian/tools-components/assignees{/user}","branches_url":"https://api.github.com/repos/guardian/tools-components/branches{/branch}","tags_url":"https://api.github.com/repos/guardian/tools-components/tags","blobs_url":"https://api.github.com/repos/guardian/tools-components/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/guardian/tools-components/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/guardian/tools-components/git/refs{/sha}","trees_url":"https://api.github.com/repos/guardian/tools-components/git/trees{/sha}","statuses_url":"https://api.github.com/repos/guardian/tools-components/statuses/{sha}","languages_url":"https://api.github.com/repos/guardian/tools-components/languages","stargazers_url":"https://api.github.com/repos/guardian/tools-components/stargazers","contributors_url":"https://api.github.com/repos/guardian/tools-components/contributors","subscribers_url":"https://api.github.com/repos/guardian/tools-components/subscribers","subscription_url":"https://api.github.com/repos/guardian/tools-components/subscription","commits_url":"https://api.github.com/repos/guardian/tools-components/commits{/sha}","git_commits_url":"https://api.github.com/repos/guardian/tools-components/git/commits{/sha}","comments_url":"https://api.github.com/repos/guardian/tools-components/comments{/number}","issue_comment_url":"https://api.github.com/repos/guardian/tools-components/issues/comments{/number}","contents_url":"https://api.github.com/repos/guardian/tools-components/contents/{+path}","compare_url":"https://api.github.com/repos/guardian/tools-components/compare/{base}...{head}","merges_url":"https://api.github.com/repos/guardian/tools-components/merges","archive_url":"https://api.github.com/repos/guardian/tools-components/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/guardian/tools-components/downloads","issues_url":"https://api.github.com/repos/guardian/tools-components/issues{/number}","pulls_url":"https://api.github.com/repos/guardian/tools-components/pulls{/number}","milestones_url":"https://api.github.com/repos/guardian/tools-components/milestones{/number}","notifications_url":"https://api.github.com/repos/guardian/tools-components/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/guardian/tools-components/labels{/name}","releases_url":"https://api.github.com/repos/guardian/tools-components/releases{/id}","created_at":"2015-03-12T14:42:38Z","updated_at":"2015-04-14T10:39:10Z","pushed_at":"2015-04-14T11:47:25Z","git_url":"git://github.com/guardian/tools-components.git","ssh_url":"git@github.com:guardian/tools-components.git","clone_url":"https://github.com/guardian/tools-components.git","svn_url":"https://github.com/guardian/tools-components","homepage":null,"size":1392,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":3,"forks":1,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/guardian/tools-components/pulls/27"},"html":{"href":"https://github.com/guardian/tools-components/pull/27"},"issue":{"href":"https://api.github.com/repos/guardian/tools-components/issues/27"},"comments":{"href":"https://api.github.com/repos/guardian/tools-components/issues/27/comments"},"review_comments":{"href":"https://api.github.com/repos/guardian/tools-components/pulls/27/comments"},"review_comment":{"href":"https://api.github.com/repos/guardian/tools-components/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/guardian/tools-components/pulls/27/commits"},"statuses":{"href":"https://api.github.com/repos/guardian/tools-components/statuses/ba9fce6e6fb1ca6c24969daa1a0efa7bd2e78f19"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":4,"additions":103,"deletions":0,"changed_files":9}}