aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/popup.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2018-01-20 07:58:26 +0800
committerGitHub <noreply@github.com>2018-01-20 07:58:26 +0800
commit338ebe5f402ff50dc8d1a91b7b69cd8e262cc789 (patch)
treeda684e0dd093775a0c43262b3cbae546f0ba387c /app/scripts/popup.js
parentc554e52e82b53447dd77c265723e914063d518b1 (diff)
parentc415b56ce7fe95295beec9cf827720253a2f7a8e (diff)
downloadtangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar.gz
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar.bz2
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar.lz
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar.xz
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.tar.zst
tangerine-wallet-browser-338ebe5f402ff50dc8d1a91b7b69cd8e262cc789.zip
Merge pull request #3049 from chikeichan/newmaster
Merge master to uat
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r--app/scripts/popup.js9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js
index 1a2e425dc..53ab00e00 100644
--- a/app/scripts/popup.js
+++ b/app/scripts/popup.js
@@ -8,10 +8,19 @@ const extension = require('extensionizer')
const ExtensionPlatform = require('./platforms/extension')
const NotificationManager = require('./lib/notification-manager')
const notificationManager = new NotificationManager()
+const setupRaven = require('./setupRaven')
// create platform global
global.platform = new ExtensionPlatform()
+// setup sentry error reporting
+const release = global.platform.getVersion()
+setupRaven({ release })
+
+// inject css
+// const css = MetaMaskUiCss()
+// injectCss(css)
+
// identify window type (popup, notification)
const windowType = isPopupOrNotification()
global.METAMASK_UI_TYPE = windowType