addTooltip(yo`<div><b>${this.currentRequest.from}</b> is updating the <b>Solidity compiler configuration</b>.<pre class="text-left">${JSON.stringify(settings,null,'\t')}</pre></div>`)
this.compilerContainer.setConfiguration(settings)
// @todo(#2875) should use loading compiler return value to check whether the compiler is loaded instead of "setInterval"
lettimeout=0
constid=setInterval(()=>{
timeout++
console.log(this.data.loading)
if(!this.data.loading||timeout>10){
resolve()
clearInterval(id)
}
},200)
})
}
/*********
/*********
* SUB-COMPONENTS
* SUB-COMPONENTS
*/
*/
...
@@ -261,7 +304,7 @@ class CompileTab extends ViewPlugin {
...
@@ -261,7 +304,7 @@ class CompileTab extends ViewPlugin {