From 7aa120e630fcc7910114ba825c015a602a3b9403 Mon Sep 17 00:00:00 2001 From: kumavis Date: Wed, 6 Jul 2016 20:20:40 -0700 Subject: web3 injection - use web3 dist for faster injection --- app/scripts/inpage.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'app/scripts/inpage.js') 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 -- cgit v1.2.3