|
|
@ -156,7 +156,7 @@ function compileTab (appAPI = {}, appEvents = {}, opts = {}) { |
|
|
|
} |
|
|
|
} |
|
|
|
if (!error) { |
|
|
|
if (!error) { |
|
|
|
if (data.contracts) { |
|
|
|
if (data.contracts) { |
|
|
|
appAPI.visitContracts((contract) => { |
|
|
|
opts.compiler.visitContracts((contract) => { |
|
|
|
opts.renderer.error(contract.name, $(errorContainer), {type: 'success'}) |
|
|
|
opts.renderer.error(contract.name, $(errorContainer), {type: 'success'}) |
|
|
|
}) |
|
|
|
}) |
|
|
|
} |
|
|
|
} |
|
|
@ -190,7 +190,7 @@ function compileTab (appAPI = {}, appEvents = {}, opts = {}) { |
|
|
|
contractNames.innerHTML = '' |
|
|
|
contractNames.innerHTML = '' |
|
|
|
if (success) { |
|
|
|
if (success) { |
|
|
|
contractNames.removeAttribute('disabled') |
|
|
|
contractNames.removeAttribute('disabled') |
|
|
|
appAPI.visitContracts((contract) => { |
|
|
|
opts.compiler.visitContracts((contract) => { |
|
|
|
contractsDetails[contract.name] = parseContracts(contract.name, contract.object, opts.compiler.getSource(contract.file)) |
|
|
|
contractsDetails[contract.name] = parseContracts(contract.name, contract.object, opts.compiler.getSource(contract.file)) |
|
|
|
var contractName = yo` |
|
|
|
var contractName = yo` |
|
|
|
<option> |
|
|
|
<option> |
|
|
|