remove unused params

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent d069e5cef5
commit 3eaa2583d8
  1. 2
      src/app.js
  2. 4
      src/universal-dapp.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)

@ -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,

Loading…
Cancel
Save