Commit 0176aad2 authored by Grandschtroumpf's avatar Grandschtroumpf Committed by yann300

User `events` and `EventEmitter` instead of `event` and `EventManager`

parent ad20acc6
......@@ -40,6 +40,10 @@ class FileManager {
self._deps.gistExplorer.event.register('fileRemoved', (path) => { this.fileRemovedEvent(path) })
self._deps.localhostExplorer.event.register('errored', (event) => { this.removeTabsOf(self._deps.localhostExplorer) })
self._deps.localhostExplorer.event.register('closed', (event) => { this.removeTabsOf(self._deps.localhostExplorer) })
<<<<<<< HEAD
=======
>>>>>>> User `events` and `EventEmitter` instead of `event` and `EventManager`
}
profile () {
......
......@@ -338,9 +338,14 @@ class CompileTab {
this._view.errorContainer = yo`<div></div>`
this._view.contractSelection = this.contractSelection()
<<<<<<< HEAD
this._view.compilerContainer = this.compilerContainer.render()
const currentFile = this._deps.fileManager.currentFile()
if (currentFile) this.compilerContainer.currentFile = currentFile
=======
this.compilerContainer.currentFile = this._deps.fileManager.currentFile()
this._view.compilerContainer = this.compilerContainer.render()
>>>>>>> User `events` and `EventEmitter` instead of `event` and `EventManager`
this._view.el = yo`
<div id="compileTabView">
......
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