cleanup; remove extra parameter no longer needed in recorder constructor

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent 354111860b
commit 749ad2038a
  1. 13
      src/app/tabs/run-tab.js
  2. 2
      src/app/tabs/runTab/recorder.js

@ -1,4 +1,3 @@
'use strict'
var $ = require('jquery')
var yo = require('yo-yo')
var EventManager = require('../../lib/events')
@ -12,18 +11,13 @@ var ContractDropdownUI = require('./runTab/contractDropdown.js')
var RecorderUI = require('./runTab/recorder.js')
function runTab (opts, localRegistry) {
/* -------------------------
VARIABLES
--------------------------- */
var self = this
self.event = new EventManager()
self._view = {}
self.data = {
count: 0,
text: `All transactions (deployed contracts and function executions)
in this environment can be saved and replayed in
another environment. e.g Transactions created in
Javascript VM can be replayed in the Injected Web3.`
text: `All transactions (deployed contracts and function executions) in this environment can be saved and replayed in
another environment. e.g Transactions created in Javascript VM can be replayed in the Injected Web3.`
}
self._components = {}
self._components.registry = localRegistry || globlalRegistry
@ -124,9 +118,6 @@ function runTab (opts, localRegistry) {
status.appendChild(self._view.collapsedView)
}
})
/* -------------------------
MAIN HTML ELEMENT
--------------------------- */
var settingsUI = new SettingsUI(container, self)
var contractDropdownUI = new ContractDropdownUI(self)
var el = yo`

@ -8,7 +8,7 @@ var modalDialogCustom = require('../../ui/modal-dialog-custom')
class RecorderUI {
constructor (registry, runTabEvent, parentSelf) {
constructor (runTabEvent, parentSelf) {
this.parentSelf = parentSelf
this.recorder = new Recorder(this.parentSelf._deps.udapp, this.parentSelf._deps.logCallback)

Loading…
Cancel
Save