{"action":"closed","number":1,"pull_request":{"url":"https://api.github.com/repos/ascott1/sw-demo/pulls/1","id":72643422,"html_url":"https://github.com/ascott1/sw-demo/pull/1","diff_url":"https://github.com/ascott1/sw-demo/pull/1.diff","patch_url":"https://github.com/ascott1/sw-demo/pull/1.patch","issue_url":"https://api.github.com/repos/ascott1/sw-demo/issues/1","number":1,"state":"closed","locked":false,"title":"Point assets to root","user":{"login":"contolini","id":1060248,"avatar_url":"https://avatars.githubusercontent.com/u/1060248?v=3","gravatar_id":"","url":"https://api.github.com/users/contolini","html_url":"https://github.com/contolini","followers_url":"https://api.github.com/users/contolini/followers","following_url":"https://api.github.com/users/contolini/following{/other_user}","gists_url":"https://api.github.com/users/contolini/gists{/gist_id}","starred_url":"https://api.github.com/users/contolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contolini/subscriptions","organizations_url":"https://api.github.com/users/contolini/orgs","repos_url":"https://api.github.com/users/contolini/repos","events_url":"https://api.github.com/users/contolini/events{/privacy}","received_events_url":"https://api.github.com/users/contolini/received_events","type":"User","site_admin":false},"body":"When I visit https://ascott1.github.io/sw-demo/, only `service-worker.js` is cached .\r\n\r\n<img width=\"533\" alt=\"screen shot 2016-06-05 at 7 07 19 pm\" src=\"https://cloud.githubusercontent.com/assets/1060248/15808870/c48e3d7a-2b50-11e6-8898-e082c3ba9100.png\">\r\n\r\nThe [Service Workers](https://github.com/ascott1/ethical-web-dev/blob/master/web-apps-that-work-everywhere/05-offline.md#service-workers) section shows code that's different from what's in the demo. This PR updates the demo to match what's in the book.","created_at":"2016-06-05T23:08:51Z","updated_at":"2016-06-06T01:52:46Z","closed_at":"2016-06-06T01:52:46Z","merged_at":"2016-06-06T01:52:46Z","merge_commit_sha":"6bf157aa9fb7d60f6555cd5559c9395969d65506","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/ascott1/sw-demo/pulls/1/commits","review_comments_url":"https://api.github.com/repos/ascott1/sw-demo/pulls/1/comments","review_comment_url":"https://api.github.com/repos/ascott1/sw-demo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ascott1/sw-demo/issues/1/comments","statuses_url":"https://api.github.com/repos/ascott1/sw-demo/statuses/9baa363d2b7fec3a0038059b3e24c5f8a7e6c032","head":{"label":"contolini:gh-pages","ref":"gh-pages","sha":"9baa363d2b7fec3a0038059b3e24c5f8a7e6c032","user":{"login":"contolini","id":1060248,"avatar_url":"https://avatars.githubusercontent.com/u/1060248?v=3","gravatar_id":"","url":"https://api.github.com/users/contolini","html_url":"https://github.com/contolini","followers_url":"https://api.github.com/users/contolini/followers","following_url":"https://api.github.com/users/contolini/following{/other_user}","gists_url":"https://api.github.com/users/contolini/gists{/gist_id}","starred_url":"https://api.github.com/users/contolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contolini/subscriptions","organizations_url":"https://api.github.com/users/contolini/orgs","repos_url":"https://api.github.com/users/contolini/repos","events_url":"https://api.github.com/users/contolini/events{/privacy}","received_events_url":"https://api.github.com/users/contolini/received_events","type":"User","site_admin":false},"repo":{"id":60485178,"name":"sw-demo","full_name":"contolini/sw-demo","owner":{"login":"contolini","id":1060248,"avatar_url":"https://avatars.githubusercontent.com/u/1060248?v=3","gravatar_id":"","url":"https://api.github.com/users/contolini","html_url":"https://github.com/contolini","followers_url":"https://api.github.com/users/contolini/followers","following_url":"https://api.github.com/users/contolini/following{/other_user}","gists_url":"https://api.github.com/users/contolini/gists{/gist_id}","starred_url":"https://api.github.com/users/contolini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/contolini/subscriptions","organizations_url":"https://api.github.com/users/contolini/orgs","repos_url":"https://api.github.com/users/contolini/repos","events_url":"https://api.github.com/users/contolini/events{/privacy}","received_events_url":"https://api.github.com/users/contolini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/contolini/sw-demo","description":"A simple service worker demo","fork":true,"url":"https://api.github.com/repos/contolini/sw-demo","forks_url":"https://api.github.com/repos/contolini/sw-demo/forks","keys_url":"https://api.github.com/repos/contolini/sw-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/contolini/sw-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/contolini/sw-demo/teams","hooks_url":"https://api.github.com/repos/contolini/sw-demo/hooks","issue_events_url":"https://api.github.com/repos/contolini/sw-demo/issues/events{/number}","events_url":"https://api.github.com/repos/contolini/sw-demo/events","assignees_url":"https://api.github.com/repos/contolini/sw-demo/assignees{/user}","branches_url":"https://api.github.com/repos/contolini/sw-demo/branches{/branch}","tags_url":"https://api.github.com/repos/contolini/sw-demo/tags","blobs_url":"https://api.github.com/repos/contolini/sw-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/contolini/sw-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/contolini/sw-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/contolini/sw-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/contolini/sw-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/contolini/sw-demo/languages","stargazers_url":"https://api.github.com/repos/contolini/sw-demo/stargazers","contributors_url":"https://api.github.com/repos/contolini/sw-demo/contributors","subscribers_url":"https://api.github.com/repos/contolini/sw-demo/subscribers","subscription_url":"https://api.github.com/repos/contolini/sw-demo/subscription","commits_url":"https://api.github.com/repos/contolini/sw-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/contolini/sw-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/contolini/sw-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/contolini/sw-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/contolini/sw-demo/contents/{+path}","compare_url":"https://api.github.com/repos/contolini/sw-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/contolini/sw-demo/merges","archive_url":"https://api.github.com/repos/contolini/sw-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/contolini/sw-demo/downloads","issues_url":"https://api.github.com/repos/contolini/sw-demo/issues{/number}","pulls_url":"https://api.github.com/repos/contolini/sw-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/contolini/sw-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/contolini/sw-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/contolini/sw-demo/labels{/name}","releases_url":"https://api.github.com/repos/contolini/sw-demo/releases{/id}","deployments_url":"https://api.github.com/repos/contolini/sw-demo/deployments","created_at":"2016-06-05T23:03:47Z","updated_at":"2016-06-05T23:03:48Z","pushed_at":"2016-06-05T23:04:28Z","git_url":"git://github.com/contolini/sw-demo.git","ssh_url":"git@github.com:contolini/sw-demo.git","clone_url":"https://github.com/contolini/sw-demo.git","svn_url":"https://github.com/contolini/sw-demo","homepage":"https://ascott1.github.io/sw-demo/","size":30,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"ascott1:gh-pages","ref":"gh-pages","sha":"3cea13c3cab3f69a5b7df203520a941100739252","user":{"login":"ascott1","id":212533,"avatar_url":"https://avatars.githubusercontent.com/u/212533?v=3","gravatar_id":"","url":"https://api.github.com/users/ascott1","html_url":"https://github.com/ascott1","followers_url":"https://api.github.com/users/ascott1/followers","following_url":"https://api.github.com/users/ascott1/following{/other_user}","gists_url":"https://api.github.com/users/ascott1/gists{/gist_id}","starred_url":"https://api.github.com/users/ascott1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascott1/subscriptions","organizations_url":"https://api.github.com/users/ascott1/orgs","repos_url":"https://api.github.com/users/ascott1/repos","events_url":"https://api.github.com/users/ascott1/events{/privacy}","received_events_url":"https://api.github.com/users/ascott1/received_events","type":"User","site_admin":false},"repo":{"id":60026658,"name":"sw-demo","full_name":"ascott1/sw-demo","owner":{"login":"ascott1","id":212533,"avatar_url":"https://avatars.githubusercontent.com/u/212533?v=3","gravatar_id":"","url":"https://api.github.com/users/ascott1","html_url":"https://github.com/ascott1","followers_url":"https://api.github.com/users/ascott1/followers","following_url":"https://api.github.com/users/ascott1/following{/other_user}","gists_url":"https://api.github.com/users/ascott1/gists{/gist_id}","starred_url":"https://api.github.com/users/ascott1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascott1/subscriptions","organizations_url":"https://api.github.com/users/ascott1/orgs","repos_url":"https://api.github.com/users/ascott1/repos","events_url":"https://api.github.com/users/ascott1/events{/privacy}","received_events_url":"https://api.github.com/users/ascott1/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ascott1/sw-demo","description":"A simple service worker demo","fork":false,"url":"https://api.github.com/repos/ascott1/sw-demo","forks_url":"https://api.github.com/repos/ascott1/sw-demo/forks","keys_url":"https://api.github.com/repos/ascott1/sw-demo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ascott1/sw-demo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ascott1/sw-demo/teams","hooks_url":"https://api.github.com/repos/ascott1/sw-demo/hooks","issue_events_url":"https://api.github.com/repos/ascott1/sw-demo/issues/events{/number}","events_url":"https://api.github.com/repos/ascott1/sw-demo/events","assignees_url":"https://api.github.com/repos/ascott1/sw-demo/assignees{/user}","branches_url":"https://api.github.com/repos/ascott1/sw-demo/branches{/branch}","tags_url":"https://api.github.com/repos/ascott1/sw-demo/tags","blobs_url":"https://api.github.com/repos/ascott1/sw-demo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ascott1/sw-demo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ascott1/sw-demo/git/refs{/sha}","trees_url":"https://api.github.com/repos/ascott1/sw-demo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ascott1/sw-demo/statuses/{sha}","languages_url":"https://api.github.com/repos/ascott1/sw-demo/languages","stargazers_url":"https://api.github.com/repos/ascott1/sw-demo/stargazers","contributors_url":"https://api.github.com/repos/ascott1/sw-demo/contributors","subscribers_url":"https://api.github.com/repos/ascott1/sw-demo/subscribers","subscription_url":"https://api.github.com/repos/ascott1/sw-demo/subscription","commits_url":"https://api.github.com/repos/ascott1/sw-demo/commits{/sha}","git_commits_url":"https://api.github.com/repos/ascott1/sw-demo/git/commits{/sha}","comments_url":"https://api.github.com/repos/ascott1/sw-demo/comments{/number}","issue_comment_url":"https://api.github.com/repos/ascott1/sw-demo/issues/comments{/number}","contents_url":"https://api.github.com/repos/ascott1/sw-demo/contents/{+path}","compare_url":"https://api.github.com/repos/ascott1/sw-demo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ascott1/sw-demo/merges","archive_url":"https://api.github.com/repos/ascott1/sw-demo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ascott1/sw-demo/downloads","issues_url":"https://api.github.com/repos/ascott1/sw-demo/issues{/number}","pulls_url":"https://api.github.com/repos/ascott1/sw-demo/pulls{/number}","milestones_url":"https://api.github.com/repos/ascott1/sw-demo/milestones{/number}","notifications_url":"https://api.github.com/repos/ascott1/sw-demo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ascott1/sw-demo/labels{/name}","releases_url":"https://api.github.com/repos/ascott1/sw-demo/releases{/id}","deployments_url":"https://api.github.com/repos/ascott1/sw-demo/deployments","created_at":"2016-05-30T17:11:55Z","updated_at":"2016-06-02T09:13:06Z","pushed_at":"2016-06-06T01:52:46Z","git_url":"git://github.com/ascott1/sw-demo.git","ssh_url":"git@github.com:ascott1/sw-demo.git","clone_url":"https://github.com/ascott1/sw-demo.git","svn_url":"https://github.com/ascott1/sw-demo","homepage":"https://ascott1.github.io/sw-demo/","size":35,"stargazers_count":1,"watchers_count":1,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":1,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/ascott1/sw-demo/pulls/1"},"html":{"href":"https://github.com/ascott1/sw-demo/pull/1"},"issue":{"href":"https://api.github.com/repos/ascott1/sw-demo/issues/1"},"comments":{"href":"https://api.github.com/repos/ascott1/sw-demo/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/ascott1/sw-demo/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/ascott1/sw-demo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ascott1/sw-demo/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/ascott1/sw-demo/statuses/9baa363d2b7fec3a0038059b3e24c5f8a7e6c032"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"ascott1","id":212533,"avatar_url":"https://avatars.githubusercontent.com/u/212533?v=3","gravatar_id":"","url":"https://api.github.com/users/ascott1","html_url":"https://github.com/ascott1","followers_url":"https://api.github.com/users/ascott1/followers","following_url":"https://api.github.com/users/ascott1/following{/other_user}","gists_url":"https://api.github.com/users/ascott1/gists{/gist_id}","starred_url":"https://api.github.com/users/ascott1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ascott1/subscriptions","organizations_url":"https://api.github.com/users/ascott1/orgs","repos_url":"https://api.github.com/users/ascott1/repos","events_url":"https://api.github.com/users/ascott1/events{/privacy}","received_events_url":"https://api.github.com/users/ascott1/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":7,"deletions":6,"changed_files":1}}
{"actor":{"display_login":"ascott1"}}