{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/comments/23165469","id":23165469,"diff_hunk":"@@ -24,22 +25,24 @@\n     _onButtonClick('msisdn');\n   }\n \n+  var initialized = false;\n   var Authenticate = {\n     init: function a_init() {\n-      if (!_fxaButton) {\n-        _fxaButton = document.getElementById('authenticate-fxa-button');\n-      }\n-\n-      if (!_mobileIdButton) {\n-        _mobileIdButton = document.getElementById('authenticate-msisdn-button');\n-      }\n-\n-      if (!_wizardLogin) {\n-        _wizardLogin = document.getElementById('wizard-login');\n+      if (initialized) {\n+        return;\n       }\n+      _fxaButton = document.getElementById('authenticate-fxa-button');\n+      _mobileIdButton = document.getElementById('authenticate-msisdn-button');\n+      _wizardLogin = document.getElementById('wizard-login');\n+      _wizardPanel = document.getElementById('wizard-panel');\n+      _gotItButton = document.getElementById('got-it-button');\n \n       _fxaButton.addEventListener('click', _onFxaButtonClick);\n       _mobileIdButton.addEventListener('click', _onMobileIdButtonClick);\n+      _gotItButton.addEventListener('click', function() {\n+        Navigation.to('calllog-panel', 'left');","path":"app/js/screens/wizard/authenticate.js","position":39,"original_position":39,"commit_id":"690c960ce9961cb2811a44e0b457f5196da8b62e","original_commit_id":"690c960ce9961cb2811a44e0b457f5196da8b62e","user":{"login":"borjasalguero","id":1785537,"avatar_url":"https://avatars.githubusercontent.com/u/1785537?v=3","gravatar_id":"","url":"https://api.github.com/users/borjasalguero","html_url":"https://github.com/borjasalguero","followers_url":"https://api.github.com/users/borjasalguero/followers","following_url":"https://api.github.com/users/borjasalguero/following{/other_user}","gists_url":"https://api.github.com/users/borjasalguero/gists{/gist_id}","starred_url":"https://api.github.com/users/borjasalguero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borjasalguero/subscriptions","organizations_url":"https://api.github.com/users/borjasalguero/orgs","repos_url":"https://api.github.com/users/borjasalguero/repos","events_url":"https://api.github.com/users/borjasalguero/events{/privacy}","received_events_url":"https://api.github.com/users/borjasalguero/received_events","type":"User","site_admin":false},"body":"Changing to do it as a sequence.","created_at":"2015-01-19T15:21:49Z","updated_at":"2015-01-19T15:21:49Z","html_url":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470#discussion_r23165469","pull_request_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/comments/23165469"},"html":{"href":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470#discussion_r23165469"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470","id":27599639,"html_url":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470","diff_url":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470.diff","patch_url":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/470","number":470,"state":"open","locked":false,"title":"Bug 1123266 - Connect Settings and Tutorial r=crdlc","user":{"login":"borjasalguero","id":1785537,"avatar_url":"https://avatars.githubusercontent.com/u/1785537?v=3","gravatar_id":"","url":"https://api.github.com/users/borjasalguero","html_url":"https://github.com/borjasalguero","followers_url":"https://api.github.com/users/borjasalguero/followers","following_url":"https://api.github.com/users/borjasalguero/following{/other_user}","gists_url":"https://api.github.com/users/borjasalguero/gists{/gist_id}","starred_url":"https://api.github.com/users/borjasalguero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borjasalguero/subscriptions","organizations_url":"https://api.github.com/users/borjasalguero/orgs","repos_url":"https://api.github.com/users/borjasalguero/repos","events_url":"https://api.github.com/users/borjasalguero/events{/privacy}","received_events_url":"https://api.github.com/users/borjasalguero/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-01-19T11:14:37Z","updated_at":"2015-01-19T15:21:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95e9ff2ff6fa0b9cf63814541b81df41e081c038","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/comments/{number}","comments_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/470/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/statuses/690c960ce9961cb2811a44e0b457f5196da8b62e","head":{"label":"borjasalguero:launch_tutorial","ref":"launch_tutorial","sha":"690c960ce9961cb2811a44e0b457f5196da8b62e","user":{"login":"borjasalguero","id":1785537,"avatar_url":"https://avatars.githubusercontent.com/u/1785537?v=3","gravatar_id":"","url":"https://api.github.com/users/borjasalguero","html_url":"https://github.com/borjasalguero","followers_url":"https://api.github.com/users/borjasalguero/followers","following_url":"https://api.github.com/users/borjasalguero/following{/other_user}","gists_url":"https://api.github.com/users/borjasalguero/gists{/gist_id}","starred_url":"https://api.github.com/users/borjasalguero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borjasalguero/subscriptions","organizations_url":"https://api.github.com/users/borjasalguero/orgs","repos_url":"https://api.github.com/users/borjasalguero/repos","events_url":"https://api.github.com/users/borjasalguero/events{/privacy}","received_events_url":"https://api.github.com/users/borjasalguero/received_events","type":"User","site_admin":false},"repo":{"id":18328104,"name":"firefoxos-loop-client","full_name":"borjasalguero/firefoxos-loop-client","owner":{"login":"borjasalguero","id":1785537,"avatar_url":"https://avatars.githubusercontent.com/u/1785537?v=3","gravatar_id":"","url":"https://api.github.com/users/borjasalguero","html_url":"https://github.com/borjasalguero","followers_url":"https://api.github.com/users/borjasalguero/followers","following_url":"https://api.github.com/users/borjasalguero/following{/other_user}","gists_url":"https://api.github.com/users/borjasalguero/gists{/gist_id}","starred_url":"https://api.github.com/users/borjasalguero/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/borjasalguero/subscriptions","organizations_url":"https://api.github.com/users/borjasalguero/orgs","repos_url":"https://api.github.com/users/borjasalguero/repos","events_url":"https://api.github.com/users/borjasalguero/events{/privacy}","received_events_url":"https://api.github.com/users/borjasalguero/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/borjasalguero/firefoxos-loop-client","description":"Firefox OS client for the Loop service","fork":true,"url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client","forks_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/forks","keys_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/teams","hooks_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/hooks","issue_events_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/issues/events{/number}","events_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/events","assignees_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/assignees{/user}","branches_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/branches{/branch}","tags_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/tags","blobs_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/statuses/{sha}","languages_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/languages","stargazers_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/stargazers","contributors_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/contributors","subscribers_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/subscribers","subscription_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/subscription","commits_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/issues/comments/{number}","contents_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/contents/{+path}","compare_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/merges","archive_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/downloads","issues_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/issues{/number}","pulls_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/pulls{/number}","milestones_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/milestones{/number}","notifications_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/labels{/name}","releases_url":"https://api.github.com/repos/borjasalguero/firefoxos-loop-client/releases{/id}","created_at":"2014-04-01T12:06:56Z","updated_at":"2014-06-20T08:48:04Z","pushed_at":"2015-01-19T12:16:57Z","git_url":"git://github.com/borjasalguero/firefoxos-loop-client.git","ssh_url":"git@github.com:borjasalguero/firefoxos-loop-client.git","clone_url":"https://github.com/borjasalguero/firefoxos-loop-client.git","svn_url":"https://github.com/borjasalguero/firefoxos-loop-client","homepage":null,"size":12588,"stargazers_count":0,"watchers_count":0,"language":null,"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":"mozilla-b2g:master","ref":"master","sha":"3bb7b728f75356612c393874c0fafa4efce5fb4f","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":18225071,"name":"firefoxos-loop-client","full_name":"mozilla-b2g/firefoxos-loop-client","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/firefoxos-loop-client","description":"Firefox OS client for the Loop service","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client","forks_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/comments/{number}","contents_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/releases{/id}","created_at":"2014-03-28T20:10:24Z","updated_at":"2015-01-19T15:12:24Z","pushed_at":"2015-01-19T15:12:24Z","git_url":"git://github.com/mozilla-b2g/firefoxos-loop-client.git","ssh_url":"git@github.com:mozilla-b2g/firefoxos-loop-client.git","clone_url":"https://github.com/mozilla-b2g/firefoxos-loop-client.git","svn_url":"https://github.com/mozilla-b2g/firefoxos-loop-client","homepage":null,"size":15974,"stargazers_count":18,"watchers_count":18,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":41,"forks":36,"open_issues":41,"watchers":18,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470"},"html":{"href":"https://github.com/mozilla-b2g/firefoxos-loop-client/pull/470"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/470"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/issues/470/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/pulls/470/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/firefoxos-loop-client/statuses/690c960ce9961cb2811a44e0b457f5196da8b62e"}}}}