diff --git a/src/app/tabs/runTab/model/settings.js b/src/app/tabs/runTab/model/settings.js deleted file mode 100644 index 8965312d9c..0000000000 --- a/src/app/tabs/runTab/model/settings.js +++ /dev/null @@ -1,37 +0,0 @@ -// var ethJSUtil = require('ethereumjs-util') -// var Personal = require('web3-eth-personal') -var remixLib = require('remix-lib') -// var Web3 = require('web3') -// const addTooltip = require('../../../ui/tooltip') -var EventManager = remixLib.EventManager - -class Settings { - - constructor (blockchain, executionContext, udapp) { - this.blockchain = blockchain - this.executionContext = executionContext - this.udapp = udapp - this.event = new EventManager() - - // this.blockchain.event.register('transactionExecuted', (error, from, to, data, lookupOnly, txResult) => { - // this.event.trigger('transactionExecuted', [error, from, to, data, lookupOnly, txResult]) - // }) - - // this.blockchain.event.register('contextChanged', (context, silent) => { - // this.event.trigger('contextChanged', [context, silent]) - // }) - - // this.blockchain.event.register('addProvider', (network) => { - // this.event.trigger('addProvider', [network]) - // }) - - // this.blockchain.event.register('removeProvider', (name) => { - // this.event.trigger('removeProvider', [name]) - // }) - - // this.networkcallid = 0 - } - -} - -module.exports = Settings diff --git a/src/app/udapp/run-tab.js b/src/app/udapp/run-tab.js index f4a726be78..d1ebfbacde 100644 --- a/src/app/udapp/run-tab.js +++ b/src/app/udapp/run-tab.js @@ -9,7 +9,6 @@ const EventManager = require('../../lib/events') const Card = require('../ui/card') const css = require('../tabs/styles/run-tab-styles') -// const Settings = require('../tabs/runTab/model/settings.js') const SettingsUI = require('../tabs/runTab/settings.js') const Recorder = require('../tabs/runTab/model/recorder.js') const RecorderUI = require('../tabs/runTab/recorder.js') @@ -124,7 +123,6 @@ export class RunTab extends LibraryPlugin { } renderSettings (udapp) { - // var settings = new Settings(this.blockchain, this.executionContext, udapp) this.settingsUI = new SettingsUI(this.blockchain, this.networkModule) this.settingsUI.event.register('clearInstance', () => {