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

pull/1/head
Grandschtroumpf 6 years ago committed by yann300
parent ad20acc6ce
commit 0176aad25d
  1. 4
      src/app/files/fileManager.js
  2. 5
      src/app/tabs/compile-tab.js

@ -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">

Loading…
Cancel
Save