{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/26998241","id":26998241,"diff_hunk":"@@ -254,10 +268,7 @@\n      * @memberof NfcManager.prototype\n      */\n     _checkP2PRegistration: function nm_checkP2PRegistration() {\n-      var nfcdom = window.navigator.mozNfc;\n-      if (!nfcdom) {\n-        return;\n-      }\n+      var nfc = window.navigator.mozNfc;","path":"apps/system/js/nfc_manager.js","position":45,"original_position":45,"commit_id":"4f76489b64c9313238e79b0792ce8d7fe37d1e24","original_commit_id":"4f76489b64c9313238e79b0792ce8d7fe37d1e24","user":{"login":"snowmantw","id":129153,"avatar_url":"https://avatars.githubusercontent.com/u/129153?v=3","gravatar_id":"","url":"https://api.github.com/users/snowmantw","html_url":"https://github.com/snowmantw","followers_url":"https://api.github.com/users/snowmantw/followers","following_url":"https://api.github.com/users/snowmantw/following{/other_user}","gists_url":"https://api.github.com/users/snowmantw/gists{/gist_id}","starred_url":"https://api.github.com/users/snowmantw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snowmantw/subscriptions","organizations_url":"https://api.github.com/users/snowmantw/orgs","repos_url":"https://api.github.com/users/snowmantw/repos","events_url":"https://api.github.com/users/snowmantw/events{/privacy}","received_events_url":"https://api.github.com/users/snowmantw/received_events","type":"User","site_admin":false},"body":"So did we do something to make sure 'mozNfc' is always there? ","created_at":"2015-03-24T01:54:05Z","updated_at":"2015-03-24T01:54:05Z","html_url":"https://github.com/mozilla-b2g/gaia/pull/29067#discussion_r26998241","pull_request_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067","_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/comments/26998241"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/29067#discussion_r26998241"},"pull_request":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067","id":31760704,"html_url":"https://github.com/mozilla-b2g/gaia/pull/29067","diff_url":"https://github.com/mozilla-b2g/gaia/pull/29067.diff","patch_url":"https://github.com/mozilla-b2g/gaia/pull/29067.patch","issue_url":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29067","number":29067,"state":"open","locked":false,"title":"Bug 1146400 - [NFC] Remove mozNfc checks from NfcManager, small clean up. r=gweng","user":{"login":"tauzen","id":1131236,"avatar_url":"https://avatars.githubusercontent.com/u/1131236?v=3","gravatar_id":"","url":"https://api.github.com/users/tauzen","html_url":"https://github.com/tauzen","followers_url":"https://api.github.com/users/tauzen/followers","following_url":"https://api.github.com/users/tauzen/following{/other_user}","gists_url":"https://api.github.com/users/tauzen/gists{/gist_id}","starred_url":"https://api.github.com/users/tauzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tauzen/subscriptions","organizations_url":"https://api.github.com/users/tauzen/orgs","repos_url":"https://api.github.com/users/tauzen/repos","events_url":"https://api.github.com/users/tauzen/events{/privacy}","received_events_url":"https://api.github.com/users/tauzen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-03-23T18:32:27Z","updated_at":"2015-03-24T01:54:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0c75261561f806f4d8a0575dac3746a0f09e2ce9","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067/commits","review_comments_url":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067/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/29067/comments","statuses_url":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/4f76489b64c9313238e79b0792ce8d7fe37d1e24","head":{"label":"tauzen:Bug1146400_no_nfcdom_check","ref":"Bug1146400_no_nfcdom_check","sha":"4f76489b64c9313238e79b0792ce8d7fe37d1e24","user":{"login":"tauzen","id":1131236,"avatar_url":"https://avatars.githubusercontent.com/u/1131236?v=3","gravatar_id":"","url":"https://api.github.com/users/tauzen","html_url":"https://github.com/tauzen","followers_url":"https://api.github.com/users/tauzen/followers","following_url":"https://api.github.com/users/tauzen/following{/other_user}","gists_url":"https://api.github.com/users/tauzen/gists{/gist_id}","starred_url":"https://api.github.com/users/tauzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tauzen/subscriptions","organizations_url":"https://api.github.com/users/tauzen/orgs","repos_url":"https://api.github.com/users/tauzen/repos","events_url":"https://api.github.com/users/tauzen/events{/privacy}","received_events_url":"https://api.github.com/users/tauzen/received_events","type":"User","site_admin":false},"repo":{"id":19041969,"name":"gaia","full_name":"tauzen/gaia","owner":{"login":"tauzen","id":1131236,"avatar_url":"https://avatars.githubusercontent.com/u/1131236?v=3","gravatar_id":"","url":"https://api.github.com/users/tauzen","html_url":"https://github.com/tauzen","followers_url":"https://api.github.com/users/tauzen/followers","following_url":"https://api.github.com/users/tauzen/following{/other_user}","gists_url":"https://api.github.com/users/tauzen/gists{/gist_id}","starred_url":"https://api.github.com/users/tauzen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tauzen/subscriptions","organizations_url":"https://api.github.com/users/tauzen/orgs","repos_url":"https://api.github.com/users/tauzen/repos","events_url":"https://api.github.com/users/tauzen/events{/privacy}","received_events_url":"https://api.github.com/users/tauzen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tauzen/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/tauzen/gaia","forks_url":"https://api.github.com/repos/tauzen/gaia/forks","keys_url":"https://api.github.com/repos/tauzen/gaia/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tauzen/gaia/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tauzen/gaia/teams","hooks_url":"https://api.github.com/repos/tauzen/gaia/hooks","issue_events_url":"https://api.github.com/repos/tauzen/gaia/issues/events{/number}","events_url":"https://api.github.com/repos/tauzen/gaia/events","assignees_url":"https://api.github.com/repos/tauzen/gaia/assignees{/user}","branches_url":"https://api.github.com/repos/tauzen/gaia/branches{/branch}","tags_url":"https://api.github.com/repos/tauzen/gaia/tags","blobs_url":"https://api.github.com/repos/tauzen/gaia/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tauzen/gaia/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tauzen/gaia/git/refs{/sha}","trees_url":"https://api.github.com/repos/tauzen/gaia/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tauzen/gaia/statuses/{sha}","languages_url":"https://api.github.com/repos/tauzen/gaia/languages","stargazers_url":"https://api.github.com/repos/tauzen/gaia/stargazers","contributors_url":"https://api.github.com/repos/tauzen/gaia/contributors","subscribers_url":"https://api.github.com/repos/tauzen/gaia/subscribers","subscription_url":"https://api.github.com/repos/tauzen/gaia/subscription","commits_url":"https://api.github.com/repos/tauzen/gaia/commits{/sha}","git_commits_url":"https://api.github.com/repos/tauzen/gaia/git/commits{/sha}","comments_url":"https://api.github.com/repos/tauzen/gaia/comments{/number}","issue_comment_url":"https://api.github.com/repos/tauzen/gaia/issues/comments{/number}","contents_url":"https://api.github.com/repos/tauzen/gaia/contents/{+path}","compare_url":"https://api.github.com/repos/tauzen/gaia/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tauzen/gaia/merges","archive_url":"https://api.github.com/repos/tauzen/gaia/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tauzen/gaia/downloads","issues_url":"https://api.github.com/repos/tauzen/gaia/issues{/number}","pulls_url":"https://api.github.com/repos/tauzen/gaia/pulls{/number}","milestones_url":"https://api.github.com/repos/tauzen/gaia/milestones{/number}","notifications_url":"https://api.github.com/repos/tauzen/gaia/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tauzen/gaia/labels{/name}","releases_url":"https://api.github.com/repos/tauzen/gaia/releases{/id}","created_at":"2014-04-22T18:54:30Z","updated_at":"2014-06-25T04:03:49Z","pushed_at":"2015-03-23T17:35:46Z","git_url":"git://github.com/tauzen/gaia.git","ssh_url":"git@github.com:tauzen/gaia.git","clone_url":"https://github.com/tauzen/gaia.git","svn_url":"https://github.com/tauzen/gaia","homepage":"https://wiki.mozilla.org/B2G","size":898746,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mozilla-b2g:master","ref":"master","sha":"260ff4bbc1e52beebd7d4409f71eecaf2967d965","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-03-23T23:46:47Z","pushed_at":"2015-03-24T01:48:14Z","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":1466673,"stargazers_count":1896,"watchers_count":1896,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2264,"mirror_url":null,"open_issues_count":934,"forks":2264,"open_issues":934,"watchers":1896,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067"},"html":{"href":"https://github.com/mozilla-b2g/gaia/pull/29067"},"issue":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29067"},"comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/issues/29067/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/pulls/29067/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/29067/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla-b2g/gaia/statuses/4f76489b64c9313238e79b0792ce8d7fe37d1e24"}}}}