make linter happy

pull/1/head
Iuri Matias 6 years ago
parent dc1b07bcea
commit d7a7d798b1
  1. 19
      src/app/debugger/debugger/debugger.js

@ -11,17 +11,16 @@ function Debugger (options) {
this.offsetToLineColumnConverter = options.offsetToLineColumnConverter this.offsetToLineColumnConverter = options.offsetToLineColumnConverter
this.compiler = options.compiler this.compiler = options.compiler
this.debugger = new Ethdebugger( this.debugger = new Ethdebugger({
{ executionContext: this.executionContext,
executionContext: this.executionContext, compilationResult: () => {
compilationResult: () => { var compilationResult = this.compiler.lastCompilationResult
var compilationResult = this.compiler.lastCompilationResult if (compilationResult) {
if (compilationResult) { return compilationResult.data
return compilationResult.data
}
return null
} }
}) return null
}
})
this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => { this.breakPointManager = new remixLib.code.BreakpointManager(this.debugger, (sourceLocation) => {
return self.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this.compiler.lastCompilationResult.source.sources, this.compiler.lastCompilationResult.data.sources) return self.offsetToLineColumnConverter.offsetToLineColumn(sourceLocation, sourceLocation.file, this.compiler.lastCompilationResult.source.sources, this.compiler.lastCompilationResult.data.sources)

Loading…
Cancel
Save