remove uneeded reset

pull/1/head
yann300 6 years ago
parent f9b06db6b9
commit 2769cfb78e
  1. 3
      src/universal-dapp-ui.js

@ -9,13 +9,10 @@ var css = require('./universal-dapp-styles')
var MultiParamManager = require('./multiParamManager') var MultiParamManager = require('./multiParamManager')
function UniversalDAppUI (udapp, opts = {}) { function UniversalDAppUI (udapp, opts = {}) {
var self = this
this.udapp = udapp this.udapp = udapp
self.el = yo`<div class=${css.udapp}></div>`
} }
UniversalDAppUI.prototype.reset = function () { UniversalDAppUI.prototype.reset = function () {
this.el.innerHTML = ''
} }
UniversalDAppUI.prototype.renderInstance = function (contract, address, contractName) { UniversalDAppUI.prototype.renderInstance = function (contract, address, contractName) {

Loading…
Cancel
Save