{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/comments/36577602","id":36577602,"diff_hunk":"@@ -37,14 +37,11 @@ App.prototype.init = function() {\n     var details = JSON.parse(localStorage.user);\n     this.bugzilla.validLogin(details).then(function() {\n       this.user = {name: details.login};\n-      this.emit('login', details.login);","path":"lib/app.js","position":4,"original_position":4,"commit_id":"f93670fb4d69d37262db5da14f2c663d1bc4f7fd","original_commit_id":"f93670fb4d69d37262db5da14f2c663d1bc4f7fd","user":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars.githubusercontent.com/u/37787?v=3","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"body":"These were unused","created_at":"2015-08-08T11:45:45Z","updated_at":"2015-08-08T11:45:45Z","html_url":"https://github.com/mozilla-b2g/bzlite/pull/34#discussion_r36577602","pull_request_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/comments/36577602"},"html":{"href":"https://github.com/mozilla-b2g/bzlite/pull/34#discussion_r36577602"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34","id":41952961,"html_url":"https://github.com/mozilla-b2g/bzlite/pull/34","diff_url":"https://github.com/mozilla-b2g/bzlite/pull/34.diff","patch_url":"https://github.com/mozilla-b2g/bzlite/pull/34.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/34","number":34,"state":"open","locked":false,"title":"Bug 1141992 - Support oauth flow for bugzilla","user":{"login":"daleharvey","id":37787,"avatar_url":"https://avatars.githubusercontent.com/u/37787?v=3","gravatar_id":"","url":"https://api.github.com/users/daleharvey","html_url":"https://github.com/daleharvey","followers_url":"https://api.github.com/users/daleharvey/followers","following_url":"https://api.github.com/users/daleharvey/following{/other_user}","gists_url":"https://api.github.com/users/daleharvey/gists{/gist_id}","starred_url":"https://api.github.com/users/daleharvey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daleharvey/subscriptions","organizations_url":"https://api.github.com/users/daleharvey/orgs","repos_url":"https://api.github.com/users/daleharvey/repos","events_url":"https://api.github.com/users/daleharvey/events{/privacy}","received_events_url":"https://api.github.com/users/daleharvey/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-08-08T11:45:32Z","updated_at":"2015-08-08T11:45:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49f15a6c6d84c7fbb814fd8106fefd04850ee797","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34/comments","review_comment_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/34/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/bzlite/statuses/f93670fb4d69d37262db5da14f2c663d1bc4f7fd","head":{"label":"mozilla-b2g:1141992","ref":"1141992","sha":"f93670fb4d69d37262db5da14f2c663d1bc4f7fd","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":31067900,"name":"bzlite","full_name":"mozilla-b2g/bzlite","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/bzlite","description":"A mobile friends version of Bugzilla","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/bzlite","forks_url":"https://api.github.com/repos/mozilla-b2g/bzlite/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/bzlite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/bzlite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/bzlite/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/bzlite/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/bzlite/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/bzlite/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/bzlite/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/bzlite/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/bzlite/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/bzlite/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/bzlite/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/bzlite/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/bzlite/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/bzlite/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/bzlite/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/bzlite/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/bzlite/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/bzlite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/bzlite/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/bzlite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/bzlite/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/bzlite/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/bzlite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/bzlite/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/bzlite/releases{/id}","created_at":"2015-02-20T14:21:16Z","updated_at":"2015-07-27T15:23:06Z","pushed_at":"2015-08-08T11:45:33Z","git_url":"git://github.com/mozilla-b2g/bzlite.git","ssh_url":"git@github.com:mozilla-b2g/bzlite.git","clone_url":"https://github.com/mozilla-b2g/bzlite.git","svn_url":"https://github.com/mozilla-b2g/bzlite","homepage":"http://bzlite.com","size":1011,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":28,"forks":9,"open_issues":28,"watchers":3,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"dc489d670c2baded6509d1175a2ce32edcda7636","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":31067900,"name":"bzlite","full_name":"mozilla-b2g/bzlite","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/bzlite","description":"A mobile friends version of Bugzilla","fork":false,"url":"https://api.github.com/repos/mozilla-b2g/bzlite","forks_url":"https://api.github.com/repos/mozilla-b2g/bzlite/forks","keys_url":"https://api.github.com/repos/mozilla-b2g/bzlite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla-b2g/bzlite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla-b2g/bzlite/teams","hooks_url":"https://api.github.com/repos/mozilla-b2g/bzlite/hooks","issue_events_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla-b2g/bzlite/events","assignees_url":"https://api.github.com/repos/mozilla-b2g/bzlite/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla-b2g/bzlite/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla-b2g/bzlite/tags","blobs_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla-b2g/bzlite/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla-b2g/bzlite/languages","stargazers_url":"https://api.github.com/repos/mozilla-b2g/bzlite/stargazers","contributors_url":"https://api.github.com/repos/mozilla-b2g/bzlite/contributors","subscribers_url":"https://api.github.com/repos/mozilla-b2g/bzlite/subscribers","subscription_url":"https://api.github.com/repos/mozilla-b2g/bzlite/subscription","commits_url":"https://api.github.com/repos/mozilla-b2g/bzlite/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla-b2g/bzlite/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla-b2g/bzlite/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla-b2g/bzlite/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla-b2g/bzlite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla-b2g/bzlite/merges","archive_url":"https://api.github.com/repos/mozilla-b2g/bzlite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla-b2g/bzlite/downloads","issues_url":"https://api.github.com/repos/mozilla-b2g/bzlite/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla-b2g/bzlite/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla-b2g/bzlite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla-b2g/bzlite/labels{/name}","releases_url":"https://api.github.com/repos/mozilla-b2g/bzlite/releases{/id}","created_at":"2015-02-20T14:21:16Z","updated_at":"2015-07-27T15:23:06Z","pushed_at":"2015-08-08T11:45:33Z","git_url":"git://github.com/mozilla-b2g/bzlite.git","ssh_url":"git@github.com:mozilla-b2g/bzlite.git","clone_url":"https://github.com/mozilla-b2g/bzlite.git","svn_url":"https://github.com/mozilla-b2g/bzlite","homepage":"http://bzlite.com","size":1011,"stargazers_count":3,"watchers_count":3,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":9,"mirror_url":null,"open_issues_count":28,"forks":9,"open_issues":28,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34"},"html":{"href":"https://github.com/mozilla-b2g/bzlite/pull/34"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/34"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/issues/34/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/pulls/34/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/bzlite/statuses/f93670fb4d69d37262db5da14f2c663d1bc4f7fd"}}}}