diff options
Diffstat (limited to 'app/scripts/popup.js')
-rw-r--r-- | app/scripts/popup.js | 9 |
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 |