diff --git a/src/app.js b/src/app.js index 6186455d3c..f8fde59167 100644 --- a/src/app.js +++ b/src/app.js @@ -113,6 +113,7 @@ var css = csjs` class App { constructor (api = {}, events = {}, opts = {}) { var self = this + this.event = new EventManager() self._components = {} registry.put({api: self, name: 'app'}) @@ -465,8 +466,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org } }, false) - this.event = new EventManager() - // Replace early callback with instant response loadFilesCallback = function (files) { self.loadFiles(files)