diff options
author | Florian Dold <florian.dold@gmail.com> | 2020-03-30 16:09:32 +0530 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2020-03-30 16:09:32 +0530 |
commit | aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf (patch) | |
tree | 9274139660f30c4857d80044eb4ac283aac1775a /src/webex/compat.ts | |
parent | 15e18440dbad55df19977a2eb7053681259afc18 (diff) | |
download | wallet-core-aaf950e2ad5c07d4423f9822e3a0ae9f7b8d2bdf.tar.xz |
re-format with prettier v2, fix HTML
Diffstat (limited to 'src/webex/compat.ts')
-rw-r--r-- | src/webex/compat.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/webex/compat.ts b/src/webex/compat.ts index 121c58e7f..f1a68f33e 100644 --- a/src/webex/compat.ts +++ b/src/webex/compat.ts @@ -20,16 +20,16 @@ */ export function isFirefox(): boolean { - const rt = chrome.runtime as any; - if (typeof rt.getBrowserInfo === "function") { - return true; - } - return false; + const rt = chrome.runtime as any; + if (typeof rt.getBrowserInfo === "function") { + return true; + } + return false; } /** * Check if we are running under nodejs. */ export function isNode() { - return (typeof process !== 'undefined') && (process.release.name === 'node') -}
\ No newline at end of file + return typeof process !== "undefined" && process.release.name === "node"; +} |