aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
authorkumavis <aaron@kumavis.me>2016-07-07 11:20:40 +0800
committerkumavis <aaron@kumavis.me>2016-07-07 11:20:40 +0800
commit7aa120e630fcc7910114ba825c015a602a3b9403 (patch)
tree87095af967c1f0d44bf2d66fbb324309d8c441db /app/scripts/inpage.js
parent9d54f10dc5bd42f9103ff6c9f2094d5af81b2342 (diff)
downloadtangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar.gz
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar.bz2
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar.lz
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar.xz
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.tar.zst
tangerine-wallet-browser-7aa120e630fcc7910114ba825c015a602a3b9403.zip
web3 injection - use web3 dist for faster injection
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index e6f4078c8..40dce54f1 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -1,12 +1,10 @@
cleanContextForImports()
-const Web3 = require('web3')
+require('web3/dist/web3.min.js')
const LocalMessageDuplexStream = require('./lib/local-message-stream.js')
const setupDappAutoReload = require('./lib/auto-reload.js')
const MetamaskInpageProvider = require('./lib/inpage-provider.js')
restoreContextAfterImports()
-// remove from window
-delete window.Web3
//
// setup plugin communication