make linter happy

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

@ -11,25 +11,18 @@ 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, compilationResult: () => {
compiler: this._components.registry.get('compiler').api, if (this.options.compilersArtefacts['__last']) return this.options.compilersArtefacts['__last'].getData()
compilersArtefacts: this._components.registry.get('compilersartefacts').api
}
this.debugger = new Ethdebugger(
{
executionContext: this.executionContext,
compilationResult: () => {
if (this._deps.compilersArtefacts['__last']) return this._deps.compilersArtefacts['__last'].getData()
return null return null
} }
}) })
this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => { this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => {
return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this._deps.compiler.lastCompilationResult.source.sources, this._deps.compiler.lastCompilationResult.data.sources) return self._deps.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this._deps.compiler.lastCompilationResult.source.sources, this._deps.compiler.lastCompilationResult.data.sources)

Loading…
Cancel
Save