Update terminal.js

pull/1/head
yann300 6 years ago committed by GitHub
parent ed18c3d594
commit 9d51f74b7f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/app/panels/terminal.js

@ -8,6 +8,7 @@ var vm = require('vm')
var remixLib = require('remix-lib')
var EventManager = remixLib.EventManager
var Web3 = require('web3')
var swarmgw = require('swarmgw')
var CommandInterpreterAPI = require('../../lib/cmdInterpreterAPI')
var executionContext = require('../../execution-context')
@ -575,6 +576,7 @@ class Terminal {
function domTerminalFeatures (self, scopedCommands) {
return {
swarmgw,
ethers,
remix: self._components.cmdInterpreter,
web3: executionContext.getProvider() !== 'vm' ? new Web3(executionContext.web3().currentProvider) : null,

Loading…
Cancel
Save