Skip to content

Commit

Permalink
Update terminal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
yann300 authored Aug 9, 2018
1 parent ed18c3d commit 9d51f74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/app/panels/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 9d51f74

Please sign in to comment.