aboutsummaryrefslogtreecommitdiffstats
path: root/app/scripts/inpage.js
diff options
context:
space:
mode:
Diffstat (limited to 'app/scripts/inpage.js')
-rw-r--r--app/scripts/inpage.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/app/scripts/inpage.js b/app/scripts/inpage.js
index e6f4078c8..f5e54cd7b 100644
--- a/app/scripts/inpage.js
+++ b/app/scripts/inpage.js
@@ -1,12 +1,11 @@
+/*global Web3*/
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