pull/3264/head^2
filip mertens 2 years ago committed by Aniket
parent 409fc2251c
commit 4704e53fd9
  1. 1
      apps/remix-ide/src/app/panels/terminal.js
  2. 2
      libs/remix-solidity/src/compiler/compiler.ts
  3. 1
      libs/remix-solidity/src/lib/es-web-worker/compiler-worker.ts
  4. 1
      libs/remix-ui/editor/src/lib/web-types.ts

@ -121,7 +121,6 @@ class Terminal extends Plugin {
renderComponent () {
const onReady = (api) => { this.terminalApi = api }
console.log(this)
this.dispatch({
plugin: this,
onReady: onReady

@ -72,7 +72,6 @@ export class Compiler {
if (typeof (window) !== 'undefined' && Worker) {
const ESWebWorker = await import('../lib/es-web-worker/es-web-worker-handler')
this.workerHandler = new ESWebWorker.default()
console.log('worker handler loaded', this.workerHandler)
}
}
@ -286,7 +285,6 @@ export class Compiler {
*/
loadWorker(url: string): void {
console.log(this)
this.state.worker = this.workerHandler.getWorker()
const jobs: Record<'sources', SourceWithTarget>[] = []

@ -8,7 +8,6 @@ self.onmessage = (e: MessageEvent) => {
switch (data.cmd) {
case 'loadVersion':
{
console.log(self);
(self as any).importScripts(data.data)
const compiler = setupMethods(self)
compileJSON = (input) => {

@ -6,7 +6,6 @@ export const loadTypes = async (monaco) => {
// @ts-ignore
const ethersAbi = await import('raw-loader!@ethersproject/abi/lib/index.d.ts')
console.log(ethersAbi)
const ethersAbiDefault = ethersAbi.default.replace(/@ethersproject\//g, '@ethersproject_')
monaco.languages.typescript.typescriptDefaults.addExtraLib(ethersAbiDefault, `file:///node_modules/@types/@ethersproject_abi/index.d.ts`)

Loading…
Cancel
Save