Commit a12d40fe authored by Iuri Matias's avatar Iuri Matias

remove executionContext from mainview

parent 389b6ecc
...@@ -255,7 +255,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org ...@@ -255,7 +255,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` ...@@ -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 { ...@@ -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 { ...@@ -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 { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment