aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2018-03-01 02:37:53 +0800
committerkumavis <aaron@kumavis.me>2018-03-01 02:37:53 +0800
commitfca2cbc8ef8e0d8434fd8c437497a7a0792e2caf (patch)
tree3765253b89d2dd416905d71be5a4906dcb660db5 /app/scripts
parent40484b1c1ff2b8828d6764c1ba7bcf20730c4a30 (diff)
downloadtangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar.gz
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar.bz2
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar.lz
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar.xz
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.tar.zst
tangerine-wallet-browser-fca2cbc8ef8e0d8434fd8c437497a7a0792e2caf.zip
sentry - clean - move setupRaven to lib
Diffstat (limited to 'app/scripts')
-rw-r--r--app/scripts/background.js2
-rw-r--r--app/scripts/lib/setupRaven.js (renamed from app/scripts/setupRaven.js)2
-rw-r--r--app/scripts/popup.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/app/scripts/background.js b/app/scripts/background.js
index 476d073d1..0da079eb6 100644
--- a/app/scripts/background.js
+++ b/app/scripts/background.js
@@ -13,7 +13,7 @@ const PortStream = require('./lib/port-stream.js')
const NotificationManager = require('./lib/notification-manager.js')
const MetamaskController = require('./metamask-controller')
const firstTimeState = require('./first-time-state')
-const setupRaven = require('./setupRaven')
+const setupRaven = require('./lib/setupRaven')
const setupMetamaskMeshMetrics = require('./lib/setupMetamaskMeshMetrics')
const STORAGE_KEY = 'metamask-config'
diff --git a/app/scripts/setupRaven.js b/app/scripts/lib/setupRaven.js
index 7beffeff9..42e48cb90 100644
--- a/app/scripts/setupRaven.js
+++ b/app/scripts/lib/setupRaven.js
@@ -1,4 +1,4 @@
-const Raven = require('./vendor/raven.min.js')
+const Raven = require('../vendor/raven.min.js')
const METAMASK_DEBUG = 'GULP_METAMASK_DEBUG'
const PROD = 'https://3567c198f8a8412082d32655da2961d0@sentry.io/273505'
const DEV = 'https://f59f3dd640d2429d9d0e2445a87ea8e1@sentry.io/273496'
diff --git a/app/scripts/popup.js b/app/scripts/popup.js
index 53ab00e00..11d50ee87 100644
--- a/app/scripts/popup.js
+++ b/app/scripts/popup.js
@@ -8,7 +8,7 @@ const extension = require('extensionizer')
const ExtensionPlatform = require('./platforms/extension')
const NotificationManager = require('./lib/notification-manager')
const notificationManager = new NotificationManager()
-const setupRaven = require('./setupRaven')
+const setupRaven = require('./lib/setupRaven')
// create platform global
global.platform = new ExtensionPlatform()