{"action":"opened","number":49,"pull_request":{"url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49","id":56715715,"html_url":"https://github.com/documentcloud/documentcloud-pages/pull/49","diff_url":"https://github.com/documentcloud/documentcloud-pages/pull/49.diff","patch_url":"https://github.com/documentcloud/documentcloud-pages/pull/49.patch","issue_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/49","number":49,"state":"open","locked":false,"title":"Add ability to iframe our pages","user":{"login":"reefdog","id":4731,"avatar_url":"https://avatars.githubusercontent.com/u/4731?v=3","gravatar_id":"","url":"https://api.github.com/users/reefdog","html_url":"https://github.com/reefdog","followers_url":"https://api.github.com/users/reefdog/followers","following_url":"https://api.github.com/users/reefdog/following{/other_user}","gists_url":"https://api.github.com/users/reefdog/gists{/gist_id}","starred_url":"https://api.github.com/users/reefdog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/reefdog/subscriptions","organizations_url":"https://api.github.com/users/reefdog/orgs","repos_url":"https://api.github.com/users/reefdog/repos","events_url":"https://api.github.com/users/reefdog/events{/privacy}","received_events_url":"https://api.github.com/users/reefdog/received_events","type":"User","site_admin":false},"body":"We've accepted fixed-aspect-ratio iframe embeds (#18) and settled on an MVP for delivering them (#48). Notable changes:\r\n\r\n- Embed markup has been updated to more verbose 1.1\r\n- Resizing-observing has been limited to non-iframe context and debounced\r\n- Notes now try their damndest to not drip outside visible iframe bounds\r\n- Title and credit area persist outside of the iframe context; they are part of the external embed markup for better (easier customization) and worse (easier unintentional style poisoning)\r\n\r\nNotable limitations:\r\n\r\n- Platform isn't yet ready to generate iframe embed codes; we need [aspect ratios](https://github.com/documentcloud/documentcloud/issues/284)\r\n- No current facility for setting options\r\n- Menubar (if hacked to be visible) will obscure page content\r\n- Note design needs fixing","created_at":"2016-01-21T07:56:49Z","updated_at":"2016-01-21T07:56:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49/commits","review_comments_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49/comments","review_comment_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/49/comments","statuses_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/statuses/f39ba1101280823a768ba829f6d886f98869f71a","head":{"label":"documentcloud:iframes","ref":"iframes","sha":"f39ba1101280823a768ba829f6d886f98869f71a","user":{"login":"documentcloud","id":93383,"avatar_url":"https://avatars.githubusercontent.com/u/93383?v=3","gravatar_id":"","url":"https://api.github.com/users/documentcloud","html_url":"https://github.com/documentcloud","followers_url":"https://api.github.com/users/documentcloud/followers","following_url":"https://api.github.com/users/documentcloud/following{/other_user}","gists_url":"https://api.github.com/users/documentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/documentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentcloud/subscriptions","organizations_url":"https://api.github.com/users/documentcloud/orgs","repos_url":"https://api.github.com/users/documentcloud/repos","events_url":"https://api.github.com/users/documentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/documentcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":26185161,"name":"documentcloud-pages","full_name":"documentcloud/documentcloud-pages","owner":{"login":"documentcloud","id":93383,"avatar_url":"https://avatars.githubusercontent.com/u/93383?v=3","gravatar_id":"","url":"https://api.github.com/users/documentcloud","html_url":"https://github.com/documentcloud","followers_url":"https://api.github.com/users/documentcloud/followers","following_url":"https://api.github.com/users/documentcloud/following{/other_user}","gists_url":"https://api.github.com/users/documentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/documentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentcloud/subscriptions","organizations_url":"https://api.github.com/users/documentcloud/orgs","repos_url":"https://api.github.com/users/documentcloud/repos","events_url":"https://api.github.com/users/documentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/documentcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/documentcloud/documentcloud-pages","description":"Responsively embed DocumentCloud pages","fork":false,"url":"https://api.github.com/repos/documentcloud/documentcloud-pages","forks_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/forks","keys_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/teams","hooks_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/hooks","issue_events_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/events{/number}","events_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/events","assignees_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/assignees{/user}","branches_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/branches{/branch}","tags_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/tags","blobs_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/languages","stargazers_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/stargazers","contributors_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/contributors","subscribers_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/subscribers","subscription_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/subscription","commits_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/contents/{+path}","compare_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/merges","archive_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/downloads","issues_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues{/number}","pulls_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/labels{/name}","releases_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/releases{/id}","created_at":"2014-11-04T19:32:43Z","updated_at":"2016-01-11T20:30:33Z","pushed_at":"2016-01-21T07:56:50Z","git_url":"git://github.com/documentcloud/documentcloud-pages.git","ssh_url":"git@github.com:documentcloud/documentcloud-pages.git","clone_url":"https://github.com/documentcloud/documentcloud-pages.git","svn_url":"https://github.com/documentcloud/documentcloud-pages","homepage":"http://documentcloud.github.io/documentcloud-pages/examples/","size":3476,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":20,"forks":4,"open_issues":20,"watchers":10,"default_branch":"master"}},"base":{"label":"documentcloud:master","ref":"master","sha":"46156e755650f22be63864e3c4388a016c6d3294","user":{"login":"documentcloud","id":93383,"avatar_url":"https://avatars.githubusercontent.com/u/93383?v=3","gravatar_id":"","url":"https://api.github.com/users/documentcloud","html_url":"https://github.com/documentcloud","followers_url":"https://api.github.com/users/documentcloud/followers","following_url":"https://api.github.com/users/documentcloud/following{/other_user}","gists_url":"https://api.github.com/users/documentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/documentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentcloud/subscriptions","organizations_url":"https://api.github.com/users/documentcloud/orgs","repos_url":"https://api.github.com/users/documentcloud/repos","events_url":"https://api.github.com/users/documentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/documentcloud/received_events","type":"Organization","site_admin":false},"repo":{"id":26185161,"name":"documentcloud-pages","full_name":"documentcloud/documentcloud-pages","owner":{"login":"documentcloud","id":93383,"avatar_url":"https://avatars.githubusercontent.com/u/93383?v=3","gravatar_id":"","url":"https://api.github.com/users/documentcloud","html_url":"https://github.com/documentcloud","followers_url":"https://api.github.com/users/documentcloud/followers","following_url":"https://api.github.com/users/documentcloud/following{/other_user}","gists_url":"https://api.github.com/users/documentcloud/gists{/gist_id}","starred_url":"https://api.github.com/users/documentcloud/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/documentcloud/subscriptions","organizations_url":"https://api.github.com/users/documentcloud/orgs","repos_url":"https://api.github.com/users/documentcloud/repos","events_url":"https://api.github.com/users/documentcloud/events{/privacy}","received_events_url":"https://api.github.com/users/documentcloud/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/documentcloud/documentcloud-pages","description":"Responsively embed DocumentCloud pages","fork":false,"url":"https://api.github.com/repos/documentcloud/documentcloud-pages","forks_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/forks","keys_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/teams","hooks_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/hooks","issue_events_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/events{/number}","events_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/events","assignees_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/assignees{/user}","branches_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/branches{/branch}","tags_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/tags","blobs_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/refs{/sha}","trees_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/statuses/{sha}","languages_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/languages","stargazers_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/stargazers","contributors_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/contributors","subscribers_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/subscribers","subscription_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/subscription","commits_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/commits{/sha}","git_commits_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/git/commits{/sha}","comments_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/comments{/number}","issue_comment_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/comments{/number}","contents_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/contents/{+path}","compare_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/merges","archive_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/downloads","issues_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues{/number}","pulls_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls{/number}","milestones_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/milestones{/number}","notifications_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/labels{/name}","releases_url":"https://api.github.com/repos/documentcloud/documentcloud-pages/releases{/id}","created_at":"2014-11-04T19:32:43Z","updated_at":"2016-01-11T20:30:33Z","pushed_at":"2016-01-21T07:56:50Z","git_url":"git://github.com/documentcloud/documentcloud-pages.git","ssh_url":"git@github.com:documentcloud/documentcloud-pages.git","clone_url":"https://github.com/documentcloud/documentcloud-pages.git","svn_url":"https://github.com/documentcloud/documentcloud-pages","homepage":"http://documentcloud.github.io/documentcloud-pages/examples/","size":3476,"stargazers_count":10,"watchers_count":10,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":4,"mirror_url":null,"open_issues_count":20,"forks":4,"open_issues":20,"watchers":10,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49"},"html":{"href":"https://github.com/documentcloud/documentcloud-pages/pull/49"},"issue":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/49"},"comments":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/issues/49/comments"},"review_comments":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49/comments"},"review_comment":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/pulls/49/commits"},"statuses":{"href":"https://api.github.com/repos/documentcloud/documentcloud-pages/statuses/f39ba1101280823a768ba829f6d886f98869f71a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":20,"additions":416,"deletions":285,"changed_files":15}}