Revert "Update compiler-utils.js"

This reverts commit 97cf6965e6.
pull/1143/head^2
lianahus 4 years ago committed by Liana Husikyan
parent 97cf6965e6
commit 0b1cdc6e87
  1. 4
      apps/remix-ide/src/app/compiler/compiler-utils.js

@ -26,9 +26,9 @@ export function canUseWorker (selectedVersion) {
const isNightly = selectedVersion.includes('nightly')
return browserSupportWorker() && (
// All compiler versions (including nightlies) after 0.6.3 are wasm compiled
semver.gte(version, '0.6.2') ||
semver.gt(version, '0.6.3') ||
// Only releases are wasm compiled starting with 0.3.6
(semver.gte(version, '0.3.6') && !semver.eq(version, '0.5.17') && !isNightly)
(semver.gte(version, '0.3.6') && !isNightly)
)
}

Loading…
Cancel
Save