aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
authorDan Finlay <542863+danfinlay@users.noreply.github.com>2018-04-17 07:32:56 +0800
committerGitHub <noreply@github.com>2018-04-17 07:32:56 +0800
commit06689765146c3ca88fc206d93387b05e1db3b81c (patch)
treec3c3b50de25ba7aafe6c58a426f0ba6212d63b71 /app/scripts/inpage.js
parent6e1fcefdf1bec334b9cd7a38e6a2f2bb6a007f6e (diff)
parent6a7fd3c774f50954050d651f7e6b8ff325ce2940 (diff)
downloadtangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar.gz
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar.bz2
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar.lz
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar.xz
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.tar.zst
tangerine-wallet-browser-06689765146c3ca88fc206d93387b05e1db3b81c.zip
Merge branch 'master' into i3981-contract-rates
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js7
1 files changed, 1 insertions, 6 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index ec99bfc35..92c732813 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -3,16 +3,11 @@ cleanContextForImports()
require('web3/dist/web3.min.js')
const log = require('loglevel')
const LocalMessageDuplexStream = require('post-message-stream')
-// const PingStream = require('ping-pong-stream/ping')
-// const endOfStream = require('end-of-stream')
const setupDappAutoReload = require('./lib/auto-reload.js')
const MetamaskInpageProvider = require('./lib/inpage-provider.js')
restoreContextAfterImports()
-const METAMASK_DEBUG = process.env.METAMASK_DEBUG
-window.log = log
-log.setDefaultLevel(METAMASK_DEBUG ? 'debug' : 'warn')
-
+log.setDefaultLevel(process.env.METAMASK_DEBUG ? 'debug' : 'warn')
//
// setup plugin communication