From 910e629513db1581b3b93cc8dd61fedbc16e1153 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))