From 3eaa2583d8ff6427617e01859cc023085609234b Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Mon, 24 Dec 2018 11:39:11 -0500 Subject: [PATCH] remove unused params --- src/app.js | 2 +- src/universal-dapp.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/app.js b/src/app.js index 4eec5ccf0c..03cc182d51 100644 --- a/src/app.js +++ b/src/app.js @@ -313,7 +313,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org registry.put({api: self._components.compilersArtefacts, name: 'compilersartefacts'}) // ----------------- UniversalDApp ----------------- - var udapp = new UniversalDApp({}) + var udapp = new UniversalDApp() registry.put({api: udapp, name: 'udapp'}) var udappUI = new UniversalDAppUI(udapp) diff --git a/src/universal-dapp.js b/src/universal-dapp.js index e21bfa1bbd..2f2ab1653c 100644 --- a/src/universal-dapp.js +++ b/src/universal-dapp.js @@ -21,12 +21,12 @@ var modalDialog = require('./app/ui/modaldialog') var typeConversion = remixLib.execution.typeConversion var confirmDialog = require('./app/execution/confirmDialog') -function UniversalDApp (opts, localRegistry) { +function UniversalDApp () { this.event = new EventManager() var self = this self.data = {} self._components = {} - self._components.registry = localRegistry || globalRegistry + self._components.registry = globalRegistry self._deps = { config: self._components.registry.get('config').api, compilersartefacts: self._components.registry.get('compilersartefacts').api,