From a02441edf3ccf67c9a84202220906e57b1df2d55 Mon Sep 17 00:00:00 2001 From: yann300 Date: Wed, 4 Jul 2018 08:46:52 +0200 Subject: [PATCH] reset previous ctor --- src/app.js | 19 +------------------ 1 file changed, 1 insertion(+), 18 deletions(-) diff --git a/src/app.js b/src/app.js index b2ccf372af..bfef9b84b4 100644 --- a/src/app.js +++ b/src/app.js @@ -376,24 +376,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org // @TODO should put this in runtab registry.put({api: transactionContextAPI, name: 'transactionContextAPI'}) - var udapp = new UniversalDApp({ - api: { - logMessage: (msg) => { - self._components.editorpanel.log({ type: 'log', value: msg }) - }, - logHtmlMessage: (msg) => { - self._components.editorpanel.log({ type: 'html', value: msg }) - }, - config: self._api.config, - detectNetwork: (cb) => { - executionContext.detectNetwork(cb) - }, - personalMode: () => { - return self._api.config.get('settings/personal-mode') - } - }, - opt: { removable: false, removable_instances: true } - }) + var udapp = new UniversalDApp({ removable: false, removable_instances: true }) registry.put({api: udapp, name: 'udapp'}) var udappUI = new UniversalDAppUI(udapp)