{"action":"opened","number":395,"pull_request":{"url":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395","id":64351819,"html_url":"https://github.com/usgs/earthquake-eventpages/pull/395","diff_url":"https://github.com/usgs/earthquake-eventpages/pull/395.diff","patch_url":"https://github.com/usgs/earthquake-eventpages/pull/395.patch","issue_url":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/395","number":395,"state":"open","locked":false,"title":"Add destroy to EventPage, CatalogEvent; implement and test EventPage.…","user":{"login":"jmfee-usgs","id":1717896,"avatar_url":"https://avatars.githubusercontent.com/u/1717896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmfee-usgs","html_url":"https://github.com/jmfee-usgs","followers_url":"https://api.github.com/users/jmfee-usgs/followers","following_url":"https://api.github.com/users/jmfee-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jmfee-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jmfee-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmfee-usgs/subscriptions","organizations_url":"https://api.github.com/users/jmfee-usgs/orgs","repos_url":"https://api.github.com/users/jmfee-usgs/repos","events_url":"https://api.github.com/users/jmfee-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jmfee-usgs/received_events","type":"User","site_admin":false},"body":"…onBack\r\n\r\nFixes #368 \r\n\r\nOpen to suggestions for automated testing onBack when it calls window.history.back().  For now, manual test:\r\n\r\n1) load default when not hasPrevious\r\n- Open new tab, navigate directly to interactive map\r\nhttp://localhost:8100/earthquakes/eventpage/us10004u1y#map\r\n- Click close button\r\n- Expect general summary module\r\n\r\n2) window.history.back when hasPrevious\r\n- Open new tab, navigation directly to finite fault module\r\nhttp://localhost:8100/earthquakes/eventpage/us10004u1y#finite-fault\r\n- Open interactive map using nav\r\n- Click close button\r\n- Expect finite fault module","created_at":"2016-03-28T18:06:29Z","updated_at":"2016-03-28T18:06:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395/commits","review_comments_url":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395/comments","review_comment_url":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/comments{/number}","comments_url":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/395/comments","statuses_url":"https://api.github.com/repos/usgs/earthquake-eventpages/statuses/480868c434c23625d1e99b119b951069eaabb5ae","head":{"label":"jmfee-usgs:eventpage-back","ref":"eventpage-back","sha":"480868c434c23625d1e99b119b951069eaabb5ae","user":{"login":"jmfee-usgs","id":1717896,"avatar_url":"https://avatars.githubusercontent.com/u/1717896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmfee-usgs","html_url":"https://github.com/jmfee-usgs","followers_url":"https://api.github.com/users/jmfee-usgs/followers","following_url":"https://api.github.com/users/jmfee-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jmfee-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jmfee-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmfee-usgs/subscriptions","organizations_url":"https://api.github.com/users/jmfee-usgs/orgs","repos_url":"https://api.github.com/users/jmfee-usgs/repos","events_url":"https://api.github.com/users/jmfee-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jmfee-usgs/received_events","type":"User","site_admin":false},"repo":{"id":14155241,"name":"earthquake-eventpages","full_name":"jmfee-usgs/earthquake-eventpages","owner":{"login":"jmfee-usgs","id":1717896,"avatar_url":"https://avatars.githubusercontent.com/u/1717896?v=3","gravatar_id":"","url":"https://api.github.com/users/jmfee-usgs","html_url":"https://github.com/jmfee-usgs","followers_url":"https://api.github.com/users/jmfee-usgs/followers","following_url":"https://api.github.com/users/jmfee-usgs/following{/other_user}","gists_url":"https://api.github.com/users/jmfee-usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/jmfee-usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmfee-usgs/subscriptions","organizations_url":"https://api.github.com/users/jmfee-usgs/orgs","repos_url":"https://api.github.com/users/jmfee-usgs/repos","events_url":"https://api.github.com/users/jmfee-usgs/events{/privacy}","received_events_url":"https://api.github.com/users/jmfee-usgs/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmfee-usgs/earthquake-eventpages","description":"Web application for displaying earthquake event pages.","fork":true,"url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages","forks_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/forks","keys_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/teams","hooks_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/hooks","issue_events_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/issues/events{/number}","events_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/events","assignees_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/assignees{/user}","branches_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/branches{/branch}","tags_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/tags","blobs_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/statuses/{sha}","languages_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/languages","stargazers_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/stargazers","contributors_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/contributors","subscribers_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/subscribers","subscription_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/subscription","commits_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/contents/{+path}","compare_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/merges","archive_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/downloads","issues_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/issues{/number}","pulls_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/pulls{/number}","milestones_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/milestones{/number}","notifications_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/labels{/name}","releases_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/releases{/id}","deployments_url":"https://api.github.com/repos/jmfee-usgs/earthquake-eventpages/deployments","created_at":"2013-11-05T21:51:54Z","updated_at":"2015-05-07T20:50:46Z","pushed_at":"2016-03-28T18:02:42Z","git_url":"git://github.com/jmfee-usgs/earthquake-eventpages.git","ssh_url":"git@github.com:jmfee-usgs/earthquake-eventpages.git","clone_url":"https://github.com/jmfee-usgs/earthquake-eventpages.git","svn_url":"https://github.com/jmfee-usgs/earthquake-eventpages","homepage":null,"size":14917,"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":"usgs:master","ref":"master","sha":"0680677147a4b6ef4943b3ee3a21a1b0093ccb07","user":{"login":"usgs","id":1091434,"avatar_url":"https://avatars.githubusercontent.com/u/1091434?v=3","gravatar_id":"","url":"https://api.github.com/users/usgs","html_url":"https://github.com/usgs","followers_url":"https://api.github.com/users/usgs/followers","following_url":"https://api.github.com/users/usgs/following{/other_user}","gists_url":"https://api.github.com/users/usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usgs/subscriptions","organizations_url":"https://api.github.com/users/usgs/orgs","repos_url":"https://api.github.com/users/usgs/repos","events_url":"https://api.github.com/users/usgs/events{/privacy}","received_events_url":"https://api.github.com/users/usgs/received_events","type":"Organization","site_admin":false},"repo":{"id":13967335,"name":"earthquake-eventpages","full_name":"usgs/earthquake-eventpages","owner":{"login":"usgs","id":1091434,"avatar_url":"https://avatars.githubusercontent.com/u/1091434?v=3","gravatar_id":"","url":"https://api.github.com/users/usgs","html_url":"https://github.com/usgs","followers_url":"https://api.github.com/users/usgs/followers","following_url":"https://api.github.com/users/usgs/following{/other_user}","gists_url":"https://api.github.com/users/usgs/gists{/gist_id}","starred_url":"https://api.github.com/users/usgs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/usgs/subscriptions","organizations_url":"https://api.github.com/users/usgs/orgs","repos_url":"https://api.github.com/users/usgs/repos","events_url":"https://api.github.com/users/usgs/events{/privacy}","received_events_url":"https://api.github.com/users/usgs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/usgs/earthquake-eventpages","description":"Web application for displaying earthquake event pages.","fork":false,"url":"https://api.github.com/repos/usgs/earthquake-eventpages","forks_url":"https://api.github.com/repos/usgs/earthquake-eventpages/forks","keys_url":"https://api.github.com/repos/usgs/earthquake-eventpages/keys{/key_id}","collaborators_url":"https://api.github.com/repos/usgs/earthquake-eventpages/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/usgs/earthquake-eventpages/teams","hooks_url":"https://api.github.com/repos/usgs/earthquake-eventpages/hooks","issue_events_url":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/events{/number}","events_url":"https://api.github.com/repos/usgs/earthquake-eventpages/events","assignees_url":"https://api.github.com/repos/usgs/earthquake-eventpages/assignees{/user}","branches_url":"https://api.github.com/repos/usgs/earthquake-eventpages/branches{/branch}","tags_url":"https://api.github.com/repos/usgs/earthquake-eventpages/tags","blobs_url":"https://api.github.com/repos/usgs/earthquake-eventpages/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/usgs/earthquake-eventpages/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/usgs/earthquake-eventpages/git/refs{/sha}","trees_url":"https://api.github.com/repos/usgs/earthquake-eventpages/git/trees{/sha}","statuses_url":"https://api.github.com/repos/usgs/earthquake-eventpages/statuses/{sha}","languages_url":"https://api.github.com/repos/usgs/earthquake-eventpages/languages","stargazers_url":"https://api.github.com/repos/usgs/earthquake-eventpages/stargazers","contributors_url":"https://api.github.com/repos/usgs/earthquake-eventpages/contributors","subscribers_url":"https://api.github.com/repos/usgs/earthquake-eventpages/subscribers","subscription_url":"https://api.github.com/repos/usgs/earthquake-eventpages/subscription","commits_url":"https://api.github.com/repos/usgs/earthquake-eventpages/commits{/sha}","git_commits_url":"https://api.github.com/repos/usgs/earthquake-eventpages/git/commits{/sha}","comments_url":"https://api.github.com/repos/usgs/earthquake-eventpages/comments{/number}","issue_comment_url":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/comments{/number}","contents_url":"https://api.github.com/repos/usgs/earthquake-eventpages/contents/{+path}","compare_url":"https://api.github.com/repos/usgs/earthquake-eventpages/compare/{base}...{head}","merges_url":"https://api.github.com/repos/usgs/earthquake-eventpages/merges","archive_url":"https://api.github.com/repos/usgs/earthquake-eventpages/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/usgs/earthquake-eventpages/downloads","issues_url":"https://api.github.com/repos/usgs/earthquake-eventpages/issues{/number}","pulls_url":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls{/number}","milestones_url":"https://api.github.com/repos/usgs/earthquake-eventpages/milestones{/number}","notifications_url":"https://api.github.com/repos/usgs/earthquake-eventpages/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/usgs/earthquake-eventpages/labels{/name}","releases_url":"https://api.github.com/repos/usgs/earthquake-eventpages/releases{/id}","deployments_url":"https://api.github.com/repos/usgs/earthquake-eventpages/deployments","created_at":"2013-10-29T20:12:22Z","updated_at":"2016-01-13T19:12:23Z","pushed_at":"2016-03-28T18:06:29Z","git_url":"git://github.com/usgs/earthquake-eventpages.git","ssh_url":"git@github.com:usgs/earthquake-eventpages.git","clone_url":"https://github.com/usgs/earthquake-eventpages.git","svn_url":"https://github.com/usgs/earthquake-eventpages","homepage":null,"size":15136,"stargazers_count":9,"watchers_count":9,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":47,"forks":10,"open_issues":47,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395"},"html":{"href":"https://github.com/usgs/earthquake-eventpages/pull/395"},"issue":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/395"},"comments":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/issues/395/comments"},"review_comments":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395/comments"},"review_comment":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/pulls/395/commits"},"statuses":{"href":"https://api.github.com/repos/usgs/earthquake-eventpages/statuses/480868c434c23625d1e99b119b951069eaabb5ae"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":159,"deletions":10,"changed_files":3}}