remove executionContext from mainview

pull/5370/head
Iuri Matias 5 years ago
parent 3d0ff6731a
commit 0e44610dfa
  1. 2
      src/app.js
  2. 4
      src/app/panels/main-view.js
  3. 1
      src/app/panels/terminal.js

@ -256,7 +256,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// LAYOUT & SYSTEM VIEWS // LAYOUT & SYSTEM VIEWS
const appPanel = new MainPanel() 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' }) registry.put({ api: mainview, name: 'mainview' })
appManager.register([ appManager.register([

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

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

Loading…
Cancel
Save