removed URL's from data

pull/5370/head
LianaHus 5 years ago
parent 1a88ab66a5
commit f67e35e67d
  1. 8
      src/app/tabs/compileTab/compilerContainer.js

@ -23,9 +23,7 @@ class CompilerContainer {
timeout: 300, timeout: 300,
allversions: null, allversions: null,
selectedVersion: null, selectedVersion: null,
defaultVersion: 'soljson-v0.6.6+commit.6c089d02.js', // this default version is defined: in makeMockCompiler (for browser test) and in package.json (downloadsolc_root) for the builtin compiler defaultVersion: 'soljson-v0.6.6+commit.6c089d02.js' // this default version is defined: in makeMockCompiler (for browser test) and in package.json (downloadsolc_root) for the builtin compiler
baseURLWasm: baseURLWasm,
baseURLBin: baseURLBin
} }
} }
@ -417,9 +415,9 @@ class CompilerContainer {
async fetchAllVersion (callback) { async fetchAllVersion (callback) {
let allVersions, selectedVersion, allVersionsWasm let allVersions, selectedVersion, allVersionsWasm
// fetch normal builds // fetch normal builds
const binRes = await promisedMiniXhr(`${this.data.baseURLBin}/list.json`) const binRes = await promisedMiniXhr(`${baseURLBin}/list.json`)
// fetch wasm builds // fetch wasm builds
const wasmRes = await promisedMiniXhr(`${this.data.baseURLWasm}/list.json`) const wasmRes = await promisedMiniXhr(`${baseURLWasm}/list.json`)
if (binRes.event.type === 'error' && wasmRes.event.type === 'error') { if (binRes.event.type === 'error' && wasmRes.event.type === 'error') {
allVersions = [{ path: 'builtin', longVersion: 'latest local version' }] allVersions = [{ path: 'builtin', longVersion: 'latest local version' }]
selectedVersion = 'builtin' selectedVersion = 'builtin'

Loading…
Cancel
Save