From 1f6925764da56521b512d7bf77d984b14ef9bd9a Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Jul 2018 14:24:42 +0200 Subject: [PATCH] standard --- src/app.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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))