remove executionContext from mainview

pull/1/head
Iuri Matias 5 years ago
parent 389b6eccf3
commit a12d40fee1
  1. 2
      src/app.js
  2. 4
      src/app/panels/main-view.js
  3. 1
      src/app/panels/terminal.js

@ -255,7 +255,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// LAYOUT & SYSTEM VIEWS
const appPanel = new MainPanel()
const mainview = new MainView(editor, appPanel, fileManager, appManager, txlistener, eventsDecoder, executionContext, blockchain)
const mainview = new MainView(editor, appPanel, fileManager, appManager, txlistener, eventsDecoder, blockchain)
registry.put({ api: mainview, name: 'mainview' })
appManager.register([

@ -20,7 +20,7 @@ var css = csjs`
`
export class MainView {
constructor (editor, mainPanel, fileManager, appManager, txListener, eventsDecoder, executionContext, blockchain) {
constructor (editor, mainPanel, fileManager, appManager, txListener, eventsDecoder, blockchain) {
var self = this
self.event = new EventManager()
self._view = {}
@ -31,7 +31,6 @@ export class MainView {
self.mainPanel = mainPanel
self.txListener = txListener
self.eventsDecoder = eventsDecoder
self.executionContext = executionContext
self.blockchain = blockchain
this.appManager = appManager
this.init()
@ -102,7 +101,6 @@ export class MainView {
appManager: this.appManager,
eventsDecoder: this.eventsDecoder,
txListener: this.txListener,
executionContext: this.executionContext,
blockchain: this.blockchain
},
{

@ -41,7 +41,6 @@ class Terminal extends Plugin {
super(profile)
var self = this
self.event = new EventManager()
self.executionContext = opts.executionContext
self.blockchain = opts.blockchain
self._api = api
self._opts = opts

Loading…
Cancel
Save