{"action":"opened","number":13,"pull_request":{"url":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13","id":230506292,"node_id":"MDExOlB1bGxSZXF1ZXN0MjMwNTA2Mjky","html_url":"https://github.com/cloudflare/worker-examples/pull/13","diff_url":"https://github.com/cloudflare/worker-examples/pull/13.diff","patch_url":"https://github.com/cloudflare/worker-examples/pull/13.patch","issue_url":"https://api.github.com/repos/cloudflare/worker-examples/issues/13","number":13,"state":"open","locked":false,"title":"Add third-party scripts example","user":{"login":"pmeenan","id":444165,"node_id":"MDQ6VXNlcjQ0NDE2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/444165?v=4","gravatar_id":"","url":"https://api.github.com/users/pmeenan","html_url":"https://github.com/pmeenan","followers_url":"https://api.github.com/users/pmeenan/followers","following_url":"https://api.github.com/users/pmeenan/following{/other_user}","gists_url":"https://api.github.com/users/pmeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeenan/subscriptions","organizations_url":"https://api.github.com/users/pmeenan/orgs","repos_url":"https://api.github.com/users/pmeenan/repos","events_url":"https://api.github.com/users/pmeenan/events{/privacy}","received_events_url":"https://api.github.com/users/pmeenan/received_events","type":"User","site_admin":false},"body":"Added an example for proxying and cache-extending third-party scripts.\r\n\r\nAlso removed preload support from the font worker example (slows down initial render) and worked around an issue with workers not carrying the correct protocol through.","created_at":"2018-11-13T15:00:01Z","updated_at":"2018-11-13T15:00:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13/commits","review_comments_url":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13/comments","review_comment_url":"https://api.github.com/repos/cloudflare/worker-examples/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cloudflare/worker-examples/issues/13/comments","statuses_url":"https://api.github.com/repos/cloudflare/worker-examples/statuses/25bfd91d962978878d74db54b22b0774f7e15b06","head":{"label":"pmeenan:master","ref":"master","sha":"25bfd91d962978878d74db54b22b0774f7e15b06","user":{"login":"pmeenan","id":444165,"node_id":"MDQ6VXNlcjQ0NDE2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/444165?v=4","gravatar_id":"","url":"https://api.github.com/users/pmeenan","html_url":"https://github.com/pmeenan","followers_url":"https://api.github.com/users/pmeenan/followers","following_url":"https://api.github.com/users/pmeenan/following{/other_user}","gists_url":"https://api.github.com/users/pmeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeenan/subscriptions","organizations_url":"https://api.github.com/users/pmeenan/orgs","repos_url":"https://api.github.com/users/pmeenan/repos","events_url":"https://api.github.com/users/pmeenan/events{/privacy}","received_events_url":"https://api.github.com/users/pmeenan/received_events","type":"User","site_admin":false},"repo":{"id":154855162,"node_id":"MDEwOlJlcG9zaXRvcnkxNTQ4NTUxNjI=","name":"worker-examples","full_name":"pmeenan/worker-examples","private":false,"owner":{"login":"pmeenan","id":444165,"node_id":"MDQ6VXNlcjQ0NDE2NQ==","avatar_url":"https://avatars2.githubusercontent.com/u/444165?v=4","gravatar_id":"","url":"https://api.github.com/users/pmeenan","html_url":"https://github.com/pmeenan","followers_url":"https://api.github.com/users/pmeenan/followers","following_url":"https://api.github.com/users/pmeenan/following{/other_user}","gists_url":"https://api.github.com/users/pmeenan/gists{/gist_id}","starred_url":"https://api.github.com/users/pmeenan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pmeenan/subscriptions","organizations_url":"https://api.github.com/users/pmeenan/orgs","repos_url":"https://api.github.com/users/pmeenan/repos","events_url":"https://api.github.com/users/pmeenan/events{/privacy}","received_events_url":"https://api.github.com/users/pmeenan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/pmeenan/worker-examples","description":"Examples of Javascript you can run on Cloudflare’s worldwide network","fork":true,"url":"https://api.github.com/repos/pmeenan/worker-examples","forks_url":"https://api.github.com/repos/pmeenan/worker-examples/forks","keys_url":"https://api.github.com/repos/pmeenan/worker-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pmeenan/worker-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pmeenan/worker-examples/teams","hooks_url":"https://api.github.com/repos/pmeenan/worker-examples/hooks","issue_events_url":"https://api.github.com/repos/pmeenan/worker-examples/issues/events{/number}","events_url":"https://api.github.com/repos/pmeenan/worker-examples/events","assignees_url":"https://api.github.com/repos/pmeenan/worker-examples/assignees{/user}","branches_url":"https://api.github.com/repos/pmeenan/worker-examples/branches{/branch}","tags_url":"https://api.github.com/repos/pmeenan/worker-examples/tags","blobs_url":"https://api.github.com/repos/pmeenan/worker-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pmeenan/worker-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pmeenan/worker-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/pmeenan/worker-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pmeenan/worker-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/pmeenan/worker-examples/languages","stargazers_url":"https://api.github.com/repos/pmeenan/worker-examples/stargazers","contributors_url":"https://api.github.com/repos/pmeenan/worker-examples/contributors","subscribers_url":"https://api.github.com/repos/pmeenan/worker-examples/subscribers","subscription_url":"https://api.github.com/repos/pmeenan/worker-examples/subscription","commits_url":"https://api.github.com/repos/pmeenan/worker-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/pmeenan/worker-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/pmeenan/worker-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/pmeenan/worker-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/pmeenan/worker-examples/contents/{+path}","compare_url":"https://api.github.com/repos/pmeenan/worker-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pmeenan/worker-examples/merges","archive_url":"https://api.github.com/repos/pmeenan/worker-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pmeenan/worker-examples/downloads","issues_url":"https://api.github.com/repos/pmeenan/worker-examples/issues{/number}","pulls_url":"https://api.github.com/repos/pmeenan/worker-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/pmeenan/worker-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/pmeenan/worker-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pmeenan/worker-examples/labels{/name}","releases_url":"https://api.github.com/repos/pmeenan/worker-examples/releases{/id}","deployments_url":"https://api.github.com/repos/pmeenan/worker-examples/deployments","created_at":"2018-10-26T15:25:19Z","updated_at":"2018-11-13T14:57:50Z","pushed_at":"2018-11-13T14:57:48Z","git_url":"git://github.com/pmeenan/worker-examples.git","ssh_url":"git@github.com:pmeenan/worker-examples.git","clone_url":"https://github.com/pmeenan/worker-examples.git","svn_url":"https://github.com/pmeenan/worker-examples","homepage":"https://cloudflareworkers.com","size":231,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cloudflare:master","ref":"master","sha":"05decf2fae08ce3f324cfc561b84e111fce360be","user":{"login":"cloudflare","id":314135,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNDEzNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/314135?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"repo":{"id":114788369,"node_id":"MDEwOlJlcG9zaXRvcnkxMTQ3ODgzNjk=","name":"worker-examples","full_name":"cloudflare/worker-examples","private":false,"owner":{"login":"cloudflare","id":314135,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMxNDEzNQ==","avatar_url":"https://avatars3.githubusercontent.com/u/314135?v=4","gravatar_id":"","url":"https://api.github.com/users/cloudflare","html_url":"https://github.com/cloudflare","followers_url":"https://api.github.com/users/cloudflare/followers","following_url":"https://api.github.com/users/cloudflare/following{/other_user}","gists_url":"https://api.github.com/users/cloudflare/gists{/gist_id}","starred_url":"https://api.github.com/users/cloudflare/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cloudflare/subscriptions","organizations_url":"https://api.github.com/users/cloudflare/orgs","repos_url":"https://api.github.com/users/cloudflare/repos","events_url":"https://api.github.com/users/cloudflare/events{/privacy}","received_events_url":"https://api.github.com/users/cloudflare/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/cloudflare/worker-examples","description":"Examples of Javascript you can run on Cloudflare’s worldwide network","fork":false,"url":"https://api.github.com/repos/cloudflare/worker-examples","forks_url":"https://api.github.com/repos/cloudflare/worker-examples/forks","keys_url":"https://api.github.com/repos/cloudflare/worker-examples/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cloudflare/worker-examples/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cloudflare/worker-examples/teams","hooks_url":"https://api.github.com/repos/cloudflare/worker-examples/hooks","issue_events_url":"https://api.github.com/repos/cloudflare/worker-examples/issues/events{/number}","events_url":"https://api.github.com/repos/cloudflare/worker-examples/events","assignees_url":"https://api.github.com/repos/cloudflare/worker-examples/assignees{/user}","branches_url":"https://api.github.com/repos/cloudflare/worker-examples/branches{/branch}","tags_url":"https://api.github.com/repos/cloudflare/worker-examples/tags","blobs_url":"https://api.github.com/repos/cloudflare/worker-examples/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cloudflare/worker-examples/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cloudflare/worker-examples/git/refs{/sha}","trees_url":"https://api.github.com/repos/cloudflare/worker-examples/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cloudflare/worker-examples/statuses/{sha}","languages_url":"https://api.github.com/repos/cloudflare/worker-examples/languages","stargazers_url":"https://api.github.com/repos/cloudflare/worker-examples/stargazers","contributors_url":"https://api.github.com/repos/cloudflare/worker-examples/contributors","subscribers_url":"https://api.github.com/repos/cloudflare/worker-examples/subscribers","subscription_url":"https://api.github.com/repos/cloudflare/worker-examples/subscription","commits_url":"https://api.github.com/repos/cloudflare/worker-examples/commits{/sha}","git_commits_url":"https://api.github.com/repos/cloudflare/worker-examples/git/commits{/sha}","comments_url":"https://api.github.com/repos/cloudflare/worker-examples/comments{/number}","issue_comment_url":"https://api.github.com/repos/cloudflare/worker-examples/issues/comments{/number}","contents_url":"https://api.github.com/repos/cloudflare/worker-examples/contents/{+path}","compare_url":"https://api.github.com/repos/cloudflare/worker-examples/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cloudflare/worker-examples/merges","archive_url":"https://api.github.com/repos/cloudflare/worker-examples/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cloudflare/worker-examples/downloads","issues_url":"https://api.github.com/repos/cloudflare/worker-examples/issues{/number}","pulls_url":"https://api.github.com/repos/cloudflare/worker-examples/pulls{/number}","milestones_url":"https://api.github.com/repos/cloudflare/worker-examples/milestones{/number}","notifications_url":"https://api.github.com/repos/cloudflare/worker-examples/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cloudflare/worker-examples/labels{/name}","releases_url":"https://api.github.com/repos/cloudflare/worker-examples/releases{/id}","deployments_url":"https://api.github.com/repos/cloudflare/worker-examples/deployments","created_at":"2017-12-19T16:38:32Z","updated_at":"2018-11-13T08:13:55Z","pushed_at":"2018-10-26T21:18:27Z","git_url":"git://github.com/cloudflare/worker-examples.git","ssh_url":"git@github.com:cloudflare/worker-examples.git","clone_url":"https://github.com/cloudflare/worker-examples.git","svn_url":"https://github.com/cloudflare/worker-examples","homepage":"https://cloudflareworkers.com","size":230,"stargazers_count":69,"watchers_count":69,"language":null,"has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":15,"mirror_url":null,"archived":false,"open_issues_count":7,"license":null,"forks":15,"open_issues":7,"watchers":69,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13"},"html":{"href":"https://github.com/cloudflare/worker-examples/pull/13"},"issue":{"href":"https://api.github.com/repos/cloudflare/worker-examples/issues/13"},"comments":{"href":"https://api.github.com/repos/cloudflare/worker-examples/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/cloudflare/worker-examples/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cloudflare/worker-examples/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/cloudflare/worker-examples/statuses/25bfd91d962978878d74db54b22b0774f7e15b06"}},"author_association":"CONTRIBUTOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":true,"commits":3,"additions":502,"deletions":101,"changed_files":5}}
{"actor":{"display_login":"pmeenan"}}