|
|
|
@ -14,7 +14,6 @@ class CompileTab { |
|
|
|
|
this.queryParams = queryParams |
|
|
|
|
this.compilerImport = new CompilerImport() |
|
|
|
|
this.compiler = new Compiler((url, cb) => this.importFileCb(url, cb)) |
|
|
|
|
console.log('This is compiler object bro-1-->', this.compiler) |
|
|
|
|
this.fileManager = fileManager |
|
|
|
|
this.editor = editor |
|
|
|
|
this.config = config |
|
|
|
@ -39,14 +38,12 @@ class CompileTab { |
|
|
|
|
this.optimize = newOptimizeValue |
|
|
|
|
this.queryParams.update({ optimize: this.optimize }) |
|
|
|
|
this.compiler.set('optimize', this.optimize) |
|
|
|
|
console.log('This is compiler object bro--2->', this.compiler) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
setEvmVersion (newEvmVersion) { |
|
|
|
|
this.evmVersion = newEvmVersion |
|
|
|
|
this.queryParams.update({ evmVersion: this.evmVersion }) |
|
|
|
|
this.compiler.set('evmVersion', this.evmVersion) |
|
|
|
|
console.log('This is compiler object bro--3->', this.compiler) |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|