{"action":"created","comment":{"url":"https://api.github.com/repos/mozilla/universal-search/pulls/comments/56832859","id":56832859,"diff_hunk":"@@ -88,14 +88,27 @@ Search.prototype = {\n   _loadStyleSheets: function(win) {\n     const doc = win.document;\n     const docEl = doc.documentElement;\n+    //Check whether platform type is 'Darwin', 'Linux', or 'WINNT'.\n+    const osString = Services.appinfo.OS;\n+    console.log(osString);","path":"lib/universal-search.js","position":6,"original_position":6,"commit_id":"832e281a2ea1bf7c88d9fd24a52a1ba0901f6171","original_commit_id":"832e281a2ea1bf7c88d9fd24a52a1ba0901f6171","user":{"login":"chuckharmston","id":23885,"avatar_url":"https://avatars.githubusercontent.com/u/23885?v=3","gravatar_id":"","url":"https://api.github.com/users/chuckharmston","html_url":"https://github.com/chuckharmston","followers_url":"https://api.github.com/users/chuckharmston/followers","following_url":"https://api.github.com/users/chuckharmston/following{/other_user}","gists_url":"https://api.github.com/users/chuckharmston/gists{/gist_id}","starred_url":"https://api.github.com/users/chuckharmston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chuckharmston/subscriptions","organizations_url":"https://api.github.com/users/chuckharmston/orgs","repos_url":"https://api.github.com/users/chuckharmston/repos","events_url":"https://api.github.com/users/chuckharmston/events{/privacy}","received_events_url":"https://api.github.com/users/chuckharmston/received_events","type":"User","site_admin":false},"body":"I think we can remove the console log. Nothing particularly magical here, and we can double-check this value by running `Services.appinfo.OS` directly in the browser toolbox console.","created_at":"2016-03-21T14:43:05Z","updated_at":"2016-03-21T14:43:05Z","html_url":"https://github.com/mozilla/universal-search/pull/95#discussion_r56832859","pull_request_url":"https://api.github.com/repos/mozilla/universal-search/pulls/95","_links":{"self":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/comments/56832859"},"html":{"href":"https://github.com/mozilla/universal-search/pull/95#discussion_r56832859"},"pull_request":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/95"}}},"pull_request":{"url":"https://api.github.com/repos/mozilla/universal-search/pulls/95","id":63571681,"html_url":"https://github.com/mozilla/universal-search/pull/95","diff_url":"https://github.com/mozilla/universal-search/pull/95.diff","patch_url":"https://github.com/mozilla/universal-search/pull/95.patch","issue_url":"https://api.github.com/repos/mozilla/universal-search/issues/95","number":95,"state":"open","locked":false,"title":"78 add platform styles","user":{"login":"kaganjd","id":9204835,"avatar_url":"https://avatars.githubusercontent.com/u/9204835?v=3","gravatar_id":"","url":"https://api.github.com/users/kaganjd","html_url":"https://github.com/kaganjd","followers_url":"https://api.github.com/users/kaganjd/followers","following_url":"https://api.github.com/users/kaganjd/following{/other_user}","gists_url":"https://api.github.com/users/kaganjd/gists{/gist_id}","starred_url":"https://api.github.com/users/kaganjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaganjd/subscriptions","organizations_url":"https://api.github.com/users/kaganjd/orgs","repos_url":"https://api.github.com/users/kaganjd/repos","events_url":"https://api.github.com/users/kaganjd/events{/privacy}","received_events_url":"https://api.github.com/users/kaganjd/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-21T14:26:48Z","updated_at":"2016-03-21T14:43:05Z","closed_at":null,"merged_at":null,"merge_commit_sha":"a75fe3c61fa5c442e1efc49425e1e2b59a1efb12","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mozilla/universal-search/pulls/95/commits","review_comments_url":"https://api.github.com/repos/mozilla/universal-search/pulls/95/comments","review_comment_url":"https://api.github.com/repos/mozilla/universal-search/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mozilla/universal-search/issues/95/comments","statuses_url":"https://api.github.com/repos/mozilla/universal-search/statuses/832e281a2ea1bf7c88d9fd24a52a1ba0901f6171","head":{"label":"kaganjd:78-add-platform-styles","ref":"78-add-platform-styles","sha":"832e281a2ea1bf7c88d9fd24a52a1ba0901f6171","user":{"login":"kaganjd","id":9204835,"avatar_url":"https://avatars.githubusercontent.com/u/9204835?v=3","gravatar_id":"","url":"https://api.github.com/users/kaganjd","html_url":"https://github.com/kaganjd","followers_url":"https://api.github.com/users/kaganjd/followers","following_url":"https://api.github.com/users/kaganjd/following{/other_user}","gists_url":"https://api.github.com/users/kaganjd/gists{/gist_id}","starred_url":"https://api.github.com/users/kaganjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaganjd/subscriptions","organizations_url":"https://api.github.com/users/kaganjd/orgs","repos_url":"https://api.github.com/users/kaganjd/repos","events_url":"https://api.github.com/users/kaganjd/events{/privacy}","received_events_url":"https://api.github.com/users/kaganjd/received_events","type":"User","site_admin":false},"repo":{"id":54150185,"name":"universal-search","full_name":"kaganjd/universal-search","owner":{"login":"kaganjd","id":9204835,"avatar_url":"https://avatars.githubusercontent.com/u/9204835?v=3","gravatar_id":"","url":"https://api.github.com/users/kaganjd","html_url":"https://github.com/kaganjd","followers_url":"https://api.github.com/users/kaganjd/followers","following_url":"https://api.github.com/users/kaganjd/following{/other_user}","gists_url":"https://api.github.com/users/kaganjd/gists{/gist_id}","starred_url":"https://api.github.com/users/kaganjd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaganjd/subscriptions","organizations_url":"https://api.github.com/users/kaganjd/orgs","repos_url":"https://api.github.com/users/kaganjd/repos","events_url":"https://api.github.com/users/kaganjd/events{/privacy}","received_events_url":"https://api.github.com/users/kaganjd/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kaganjd/universal-search","description":"Test Pilot add-on that inserts server recommendations into the Awesome Bar","fork":true,"url":"https://api.github.com/repos/kaganjd/universal-search","forks_url":"https://api.github.com/repos/kaganjd/universal-search/forks","keys_url":"https://api.github.com/repos/kaganjd/universal-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kaganjd/universal-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kaganjd/universal-search/teams","hooks_url":"https://api.github.com/repos/kaganjd/universal-search/hooks","issue_events_url":"https://api.github.com/repos/kaganjd/universal-search/issues/events{/number}","events_url":"https://api.github.com/repos/kaganjd/universal-search/events","assignees_url":"https://api.github.com/repos/kaganjd/universal-search/assignees{/user}","branches_url":"https://api.github.com/repos/kaganjd/universal-search/branches{/branch}","tags_url":"https://api.github.com/repos/kaganjd/universal-search/tags","blobs_url":"https://api.github.com/repos/kaganjd/universal-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kaganjd/universal-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kaganjd/universal-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/kaganjd/universal-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kaganjd/universal-search/statuses/{sha}","languages_url":"https://api.github.com/repos/kaganjd/universal-search/languages","stargazers_url":"https://api.github.com/repos/kaganjd/universal-search/stargazers","contributors_url":"https://api.github.com/repos/kaganjd/universal-search/contributors","subscribers_url":"https://api.github.com/repos/kaganjd/universal-search/subscribers","subscription_url":"https://api.github.com/repos/kaganjd/universal-search/subscription","commits_url":"https://api.github.com/repos/kaganjd/universal-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/kaganjd/universal-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/kaganjd/universal-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/kaganjd/universal-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/kaganjd/universal-search/contents/{+path}","compare_url":"https://api.github.com/repos/kaganjd/universal-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kaganjd/universal-search/merges","archive_url":"https://api.github.com/repos/kaganjd/universal-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kaganjd/universal-search/downloads","issues_url":"https://api.github.com/repos/kaganjd/universal-search/issues{/number}","pulls_url":"https://api.github.com/repos/kaganjd/universal-search/pulls{/number}","milestones_url":"https://api.github.com/repos/kaganjd/universal-search/milestones{/number}","notifications_url":"https://api.github.com/repos/kaganjd/universal-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kaganjd/universal-search/labels{/name}","releases_url":"https://api.github.com/repos/kaganjd/universal-search/releases{/id}","deployments_url":"https://api.github.com/repos/kaganjd/universal-search/deployments","created_at":"2016-03-17T20:45:15Z","updated_at":"2016-03-17T20:45:16Z","pushed_at":"2016-03-21T14:14:53Z","git_url":"git://github.com/kaganjd/universal-search.git","ssh_url":"git@github.com:kaganjd/universal-search.git","clone_url":"https://github.com/kaganjd/universal-search.git","svn_url":"https://github.com/kaganjd/universal-search","homepage":"https://wiki.mozilla.org/Firefox/Universal_Search","size":82,"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":"mozilla:master","ref":"master","sha":"387e5b550d07d9a0a334ec77e8dc7715557c5b5d","user":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"repo":{"id":50941242,"name":"universal-search","full_name":"mozilla/universal-search","owner":{"login":"mozilla","id":131524,"avatar_url":"https://avatars.githubusercontent.com/u/131524?v=3","gravatar_id":"","url":"https://api.github.com/users/mozilla","html_url":"https://github.com/mozilla","followers_url":"https://api.github.com/users/mozilla/followers","following_url":"https://api.github.com/users/mozilla/following{/other_user}","gists_url":"https://api.github.com/users/mozilla/gists{/gist_id}","starred_url":"https://api.github.com/users/mozilla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mozilla/subscriptions","organizations_url":"https://api.github.com/users/mozilla/orgs","repos_url":"https://api.github.com/users/mozilla/repos","events_url":"https://api.github.com/users/mozilla/events{/privacy}","received_events_url":"https://api.github.com/users/mozilla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mozilla/universal-search","description":"Test Pilot add-on that inserts server recommendations into the Awesome Bar","fork":false,"url":"https://api.github.com/repos/mozilla/universal-search","forks_url":"https://api.github.com/repos/mozilla/universal-search/forks","keys_url":"https://api.github.com/repos/mozilla/universal-search/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mozilla/universal-search/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mozilla/universal-search/teams","hooks_url":"https://api.github.com/repos/mozilla/universal-search/hooks","issue_events_url":"https://api.github.com/repos/mozilla/universal-search/issues/events{/number}","events_url":"https://api.github.com/repos/mozilla/universal-search/events","assignees_url":"https://api.github.com/repos/mozilla/universal-search/assignees{/user}","branches_url":"https://api.github.com/repos/mozilla/universal-search/branches{/branch}","tags_url":"https://api.github.com/repos/mozilla/universal-search/tags","blobs_url":"https://api.github.com/repos/mozilla/universal-search/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mozilla/universal-search/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mozilla/universal-search/git/refs{/sha}","trees_url":"https://api.github.com/repos/mozilla/universal-search/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mozilla/universal-search/statuses/{sha}","languages_url":"https://api.github.com/repos/mozilla/universal-search/languages","stargazers_url":"https://api.github.com/repos/mozilla/universal-search/stargazers","contributors_url":"https://api.github.com/repos/mozilla/universal-search/contributors","subscribers_url":"https://api.github.com/repos/mozilla/universal-search/subscribers","subscription_url":"https://api.github.com/repos/mozilla/universal-search/subscription","commits_url":"https://api.github.com/repos/mozilla/universal-search/commits{/sha}","git_commits_url":"https://api.github.com/repos/mozilla/universal-search/git/commits{/sha}","comments_url":"https://api.github.com/repos/mozilla/universal-search/comments{/number}","issue_comment_url":"https://api.github.com/repos/mozilla/universal-search/issues/comments{/number}","contents_url":"https://api.github.com/repos/mozilla/universal-search/contents/{+path}","compare_url":"https://api.github.com/repos/mozilla/universal-search/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mozilla/universal-search/merges","archive_url":"https://api.github.com/repos/mozilla/universal-search/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mozilla/universal-search/downloads","issues_url":"https://api.github.com/repos/mozilla/universal-search/issues{/number}","pulls_url":"https://api.github.com/repos/mozilla/universal-search/pulls{/number}","milestones_url":"https://api.github.com/repos/mozilla/universal-search/milestones{/number}","notifications_url":"https://api.github.com/repos/mozilla/universal-search/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mozilla/universal-search/labels{/name}","releases_url":"https://api.github.com/repos/mozilla/universal-search/releases{/id}","deployments_url":"https://api.github.com/repos/mozilla/universal-search/deployments","created_at":"2016-02-02T18:16:02Z","updated_at":"2016-03-19T04:37:15Z","pushed_at":"2016-03-21T14:26:48Z","git_url":"git://github.com/mozilla/universal-search.git","ssh_url":"git@github.com:mozilla/universal-search.git","clone_url":"https://github.com/mozilla/universal-search.git","svn_url":"https://github.com/mozilla/universal-search","homepage":"https://wiki.mozilla.org/Firefox/Universal_Search","size":79,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":29,"forks":5,"open_issues":29,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/95"},"html":{"href":"https://github.com/mozilla/universal-search/pull/95"},"issue":{"href":"https://api.github.com/repos/mozilla/universal-search/issues/95"},"comments":{"href":"https://api.github.com/repos/mozilla/universal-search/issues/95/comments"},"review_comments":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/95/comments"},"review_comment":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mozilla/universal-search/pulls/95/commits"},"statuses":{"href":"https://api.github.com/repos/mozilla/universal-search/statuses/832e281a2ea1bf7c88d9fd24a52a1ba0901f6171"}}}}