{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/37782469","id":37782469,"diff_hunk":"@@ -112,6 +163,10 @@ function setHeaderTitle(title) {\n   window.requestAnimationFrame(() => headerTitle.textContent = title);\n }\n \n+function setBackButtonHidden(hidden) {\n+  header.els.actionButton.style.visibility = hidden ? 'hidden' : 'visible';\n+}","path":"dev_apps/music-nga/js/app.js","position":113,"original_position":113,"commit_id":"c6da69bc19c7923ee82caf8f94bdccc8914d90b1","original_commit_id":"c6da69bc19c7923ee82caf8f94bdccc8914d90b1","user":{"login":"justindarc","id":207595,"avatar_url":"https://avatars.githubusercontent.com/u/207595?v=3","gravatar_id":"","url":"https://api.github.com/users/justindarc","html_url":"https://github.com/justindarc","followers_url":"https://api.github.com/users/justindarc/followers","following_url":"https://api.github.com/users/justindarc/following{/other_user}","gists_url":"https://api.github.com/users/justindarc/gists{/gist_id}","starred_url":"https://api.github.com/users/justindarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justindarc/subscriptions","organizations_url":"https://api.github.com/users/justindarc/orgs","repos_url":"https://api.github.com/users/justindarc/repos","events_url":"https://api.github.com/users/justindarc/events{/privacy}","received_events_url":"https://api.github.com/users/justindarc/received_events","type":"User","site_admin":false},"body":"Ahh.. I know why I did this. The button is in the <gaia-header> shadow DOM and I can't apply an external CSS class to it.","created_at":"2015-08-24T18:10:29Z","updated_at":"2015-08-24T18:10:29Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/31434#discussion_r37782469","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/37782469"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/31434#discussion_r37782469"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434","id":42890163,"html_url":"https://github.com/mozilla-b2g/gaia/pull/31434","diff_url":"https://github.com/mozilla-b2g/gaia/pull/31434.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/31434.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/31434","number":31434,"state":"open","locked":false,"title":"Bug 1196425 - [Music][NGA] Implement 'open' and 'pick' activity handlers","user":{"login":"justindarc","id":207595,"avatar_url":"https://avatars.githubusercontent.com/u/207595?v=3","gravatar_id":"","url":"https://api.github.com/users/justindarc","html_url":"https://github.com/justindarc","followers_url":"https://api.github.com/users/justindarc/followers","following_url":"https://api.github.com/users/justindarc/following{/other_user}","gists_url":"https://api.github.com/users/justindarc/gists{/gist_id}","starred_url":"https://api.github.com/users/justindarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justindarc/subscriptions","organizations_url":"https://api.github.com/users/justindarc/orgs","repos_url":"https://api.github.com/users/justindarc/repos","events_url":"https://api.github.com/users/justindarc/events{/privacy}","received_events_url":"https://api.github.com/users/justindarc/received_events","type":"User","site_admin":false},"body":"Based on bug1195428","created_at":"2015-08-20T04:20:42Z","updated_at":"2015-08-24T18:10:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"00b5a40bf89c491feecde7e882f9042db6a49a00","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/31434/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/c6da69bc19c7923ee82caf8f94bdccc8914d90b1","head":{"label":"justindarc:bug1196425","ref":"bug1196425","sha":"c6da69bc19c7923ee82caf8f94bdccc8914d90b1","user":{"login":"justindarc","id":207595,"avatar_url":"https://avatars.githubusercontent.com/u/207595?v=3","gravatar_id":"","url":"https://api.github.com/users/justindarc","html_url":"https://github.com/justindarc","followers_url":"https://api.github.com/users/justindarc/followers","following_url":"https://api.github.com/users/justindarc/following{/other_user}","gists_url":"https://api.github.com/users/justindarc/gists{/gist_id}","starred_url":"https://api.github.com/users/justindarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justindarc/subscriptions","organizations_url":"https://api.github.com/users/justindarc/orgs","repos_url":"https://api.github.com/users/justindarc/repos","events_url":"https://api.github.com/users/justindarc/events{/privacy}","received_events_url":"https://api.github.com/users/justindarc/received_events","type":"User","site_admin":false},"repo":{"id":13749570,"name":"gaia","full_name":"justindarc/gaia","owner":{"login":"justindarc","id":207595,"avatar_url":"https://avatars.githubusercontent.com/u/207595?v=3","gravatar_id":"","url":"https://api.github.com/users/justindarc","html_url":"https://github.com/justindarc","followers_url":"https://api.github.com/users/justindarc/followers","following_url":"https://api.github.com/users/justindarc/following{/other_user}","gists_url":"https://api.github.com/users/justindarc/gists{/gist_id}","starred_url":"https://api.github.com/users/justindarc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justindarc/subscriptions","organizations_url":"https://api.github.com/users/justindarc/orgs","repos_url":"https://api.github.com/users/justindarc/repos","events_url":"https://api.github.com/users/justindarc/events{/privacy}","received_events_url":"https://api.github.com/users/justindarc/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/justindarc/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see https://wiki.mozilla.org/Release_Management/B2G_Landing","fork":true,"url":"https://api.github.com/repos/justindarc/gaia","forks_url":"https://api.github.com/repos/justindarc/gaia/forks","keys_url":"https://api.github.com/repos/justindarc/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/justindarc/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/justindarc/gaia/teams","hooks_url":"https://api.github.com/repos/justindarc/gaia/hooks","issue_events_url":"https://api.github.com/repos/justindarc/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/justindarc/gaia/events","assignees_url":"https://api.github.com/repos/justindarc/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/justindarc/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/justindarc/gaia/tags","blobs_url":"https://api.github.com/repos/justindarc/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/justindarc/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/justindarc/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/justindarc/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/justindarc/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/justindarc/gaia/languages","stargazers_url":"https://api.github.com/repos/justindarc/gaia/stargazers","contributors_url":"https://api.github.com/repos/justindarc/gaia/contributors","subscribers_url":"https://api.github.com/repos/justindarc/gaia/subscribers","subscription_url":"https://api.github.com/repos/justindarc/gaia/subscription","commits_url":"https://api.github.com/repos/justindarc/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/justindarc/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/justindarc/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/justindarc/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/justindarc/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/justindarc/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/justindarc/gaia/merges","archive_url":"https://api.github.com/repos/justindarc/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/justindarc/gaia/downloads","issues_url":"https://api.github.com/repos/justindarc/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/justindarc/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/justindarc/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/justindarc/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/justindarc/gaia/labels{/name}","releases_url":"https://api.github.com/repos/justindarc/gaia/releases{/id}","created_at":"2013-10-21T17:27:38Z","updated_at":"2015-04-27T20:37:33Z","pushed_at":"2015-08-21T22:30:35Z","git_url":"git://github.com/justindarc/gaia.git","ssh_url":"git@github.com:justindarc/gaia.git","clone_url":"https://github.com/justindarc/gaia.git","svn_url":"https://github.com/justindarc/gaia","homepage":"https://wiki.mozilla.org/B2G","size":930033,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"mozilla-b2g:master","ref":"master","sha":"72016ab41d7261161c83d72a6ace1c7c0dfe84a1","user":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"repo":{"id":2317369,"name":"gaia","full_name":"mozilla-b2g/gaia","owner":{"login":"mozilla-b2g","id":1261292,"avatar_url":"https://avatars.githubusercontent.com/u/1261292?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla-b2g","html_url":"https://github.com/mozilla-b2g","followers_url":"https://api.github.com/users/mozilla-b2g/followers","following_url":"https://api.github.com/users/mozilla-b2g/following{/other_user}","gists_url":"https://api.github.com/users/mozilla-b2g/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla-b2g/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla-b2g/subscriptions","organizations_url":"https://api.github.com/users/mozilla-b2g/orgs","repos_url":"https://api.github.com/users/mozilla-b2g/repos","events_url":"https://api.github.com/users/mozilla-b2g/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla-b2g/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla-b2g/gaia","description":"Gaia is a HTML5-based Phone UI for the Boot 2 Gecko Project. NOTE: For details of what branches are used for what releases, see","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/gaia","forks_url":"https://api.github.com/repos/mozilla-b2g/gaia/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/gaia/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/gaia/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/gaia/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/gaia/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/gaia/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/gaia/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/gaia/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/gaia/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/gaia/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/gaia/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/gaia/releases{/id}","created_at":"2011-09-03T01:38:46Z","updated_at":"2015-08-22T09:38:34Z","pushed_at":"2015-08-24T17:49:44Z","git_url":"git://github.com/mozilla-b2g/gaia.git","ssh_url":"git@github.com:mozilla-b2g/gaia.git","clone_url":"https://github.com/mozilla-b2g/gaia.git","svn_url":"https://github.com/mozilla-b2g/gaia","homepage":"https://wiki.mozilla.org/B2G","size":1587377,"stargazers_count":1972,"watchers_count":1972,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2407,"mirror_url":null,"open_issues_count":1141,"forks":2407,"open_issues":1141,"watchers":1972,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/31434"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/31434"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/31434/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/31434/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/c6da69bc19c7923ee82caf8f94bdccc8914d90b1"}}}}