remove unused parameters

pull/1/head
Iuri Matias 6 years ago committed by yann300
parent ef087ec897
commit 5fdf5b033f
  1. 5
      src/app/debugger/debugger.js
  2. 2
      src/app/debugger/debuggerUI.js

@ -8,15 +8,14 @@ var globalRegistry = require('../../global/registry')
/**
* Manage remix and source highlighting
*/
function Debugger (container, sourceHighlighter, localRegistry) {
function Debugger (sourceHighlighter) {
var self = this
this.event = new EventManager()
this._components = {
sourceHighlighter: sourceHighlighter
}
// TODO: localRegistry doesn't seem to be actually used anywhere
this._components.registry = localRegistry || globalRegistry
this._components.registry = globalRegistry
// dependencies
this._deps = {
offsetToLineColumnConverter: this._components.registry.get('offsettolinecolumnconverter').api,

@ -5,7 +5,7 @@ var SourceHighlighter = require('../editor/sourceHighlighter')
class DebuggerUI {
constructor (container) {
this.transactionDebugger = new Debugger(container, new SourceHighlighter())
this.transactionDebugger = new Debugger(new SourceHighlighter())
this.isActive = false
this.debugger_ui = new OldEthdebuggerUI({debugger: this.transactionDebugger.debugger})

Loading…
Cancel
Save