diff --git a/src/app/tabs/compileTab/compilerContainer.js b/src/app/tabs/compileTab/compilerContainer.js index f96bfedbd2..d8e42328fb 100644 --- a/src/app/tabs/compileTab/compilerContainer.js +++ b/src/app/tabs/compileTab/compilerContainer.js @@ -209,8 +209,8 @@ class CompilerContainer {
-
@@ -269,7 +269,7 @@ class CompilerContainer { modalDialogCustom.prompt( 'Add a custom compiler', 'URL', - 'https://203137-40892817-gh.circle-artifacts.com/0/soljson.js', // removed me before merge + '', (url) => { this.addCustomCompiler(url) } @@ -278,7 +278,6 @@ class CompilerContainer { addCustomCompiler (url) { this.data.selectedVersion = this._view.versionSelector.value - this.data.customVersion = this._view.versionSelector.value // todo remove this._updateVersionSelector(url) } @@ -357,7 +356,6 @@ class CompilerContainer { let url if (customUrl) { this.data.selectedVersion = customUrl - this.data.version = 'custom' // TODO REMOVE this._view.versionSelector.appendChild(yo``) url = customUrl } else if (this.data.selectedVersion === 'builtin') { @@ -397,13 +395,12 @@ class CompilerContainer { } setVersionText (text) { - this.data.version = text // todo remove if (this._view.version) this._view.version.innerText = text } fetchAllVersion (callback) { minixhr(`${this.data.baseurl}/list.json`, (json, event) => { - // @TODO: optimise and cache results to improve app loading times + // @TODO: optimise and cache results to improve app loading times #2461 var allversions, selectedVersion if (event.type !== 'error') { try {