make linter happy

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

@ -11,22 +11,15 @@ function Debugger (options) {
var self = this var self = this
this.event = new EventManager() this.event = new EventManager()
this._components = { this.executionContext = options.executionContext
sourceHighlighter: sourceHighlighter this.offsetToLineColumnConverter = options.offsetToLineColumnConverter
} this.compiler = options.compiler
this._components.registry = globalRegistry this.compilerArtefacts = options.compilersArtefacts
// dependencies
this._deps = { this.debugger = new Ethdebugger({
offsetToLineColumnConverter: this._components.registry.get('offsettolinecolumnconverter').api, executionContext: options.executionContext,
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,
compilationResult: () => { 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 return null
} }
}) })

Loading…
Cancel
Save