|
|
@ -118,9 +118,7 @@ export class CodeParser extends Plugin { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
this.on('solidity', 'loadingCompiler', async (url) => { |
|
|
|
this.on('solidity', 'loadingCompiler', async (url) => { |
|
|
|
// add timestamp to avoid caching
|
|
|
|
this.compilerService.compiler.loadVersion(true, `${url}?t=${Date.now()}`) |
|
|
|
url = url + '?t=' + Date.now() |
|
|
|
|
|
|
|
this.compilerService.compiler.loadVersion(true, url) |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
await this.compilerService.init() |
|
|
|
await this.compilerService.init() |
|
|
|