diff --git a/src/app.js b/src/app.js index 1d046edbfc..84e96b14bf 100644 --- a/src/app.js +++ b/src/app.js @@ -384,9 +384,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org } }) - registry.put({api: (msg) => { - self._components.editorpanel.logHtmlMessage(msg) - }, name: 'logCallback'}) + registry.put({api: msg => self._components.editorpanel.logHtmlMessage(msg), name: 'logCallback'}) // ----------------- Compiler ----------------- self._components.compiler = new Compiler((url, cb) => self.importFileCb(url, cb))