Commit 0fb6b055 authored by LianaHus's avatar LianaHus Committed by ioedeveloper

removed URL's from data

parent 98b306ae
...@@ -23,9 +23,7 @@ class CompilerContainer { ...@@ -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 { ...@@ -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'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment