Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GIS-866: Search Communication #647

Merged
merged 17 commits into from Jan 7, 2021

remove gb IS const

  • Loading branch information
fcjr committed Jan 4, 2021
commit 3e28136a969159ef79c10aa2f04455dd70a31d9b
@@ -67,7 +67,6 @@ const {
CDN_BASE_URL, BROWSER_INFO, IS_CLIQZ
} = globals;
const IS_EDGE = (BROWSER_INFO.name === 'edge');
const IS_GHOSTERY_BROWSER = (BROWSER_INFO.name === 'ghostery_desktop');
const IS_FIREFOX = (BROWSER_INFO.name === 'firefox');
const IS_ANDROID = (BROWSER_INFO.os === 'android');
const VERSION_CHECK_URL = `${CDN_BASE_URL}/update/version`;
@@ -1656,7 +1655,7 @@ function initializeGhosteryModules() {
*/
async function initializeSearchMessageHandler() {
await globals.BROWSER_INFO_READY; // ensure browser info is set
if (IS_GHOSTERY_BROWSER) {
if (BROWSER_INFO.name === 'ghostery_desktop') {
const sm = new SearchMessager();
sm.init();
}
ProTip! Use n and p to navigate between commits in a pull request.