Commit 5fdf5b03 authored by Iuri Matias's avatar Iuri Matias Committed by yann300

remove unused parameters

parent ef087ec8
......@@ -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})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment