make linter happy

pull/3094/head
Iuri Matias 6 years ago committed by yann300
parent fc28df84f7
commit 1a39d29fe5
  1. 23
      src/app/debugger/debugger/debugger.js

@ -11,22 +11,15 @@ function Debugger (options) {
var self = this
this.event = new EventManager()
this._components = {
sourceHighlighter: sourceHighlighter
}
this._components.registry = globalRegistry
// dependencies
this._deps = {
offsetToLineColumnConverter: this._components.registry.get('offsettolinecolumnconverter').api,
editor: this._components.registry.get('editor').api,
compiler: this._components.registry.get('compiler').api,
compilersArtefacts: this._components.registry.get('compilersartefacts').api
}
this.debugger = new Ethdebugger(
{
executionContext: this.executionContext,
this.executionContext = options.executionContext
this.offsetToLineColumnConverter = options.offsetToLineColumnConverter
this.compiler = options.compiler
this.compilerArtefacts = options.compilersArtefacts
this.debugger = new Ethdebugger({
executionContext: options.executionContext,
compilationResult: () => {
if (this._deps.compilersArtefacts['__last']) return this._deps.compilersArtefacts['__last'].getData()
if (this.options.compilersArtefacts['__last']) return this.options.compilersArtefacts['__last'].getData()
return null
}
})

Loading…
Cancel
Save