Revert "Update compiler-utils.js"

This reverts commit 932a5e31ec.
pull/5370/head
lianahus 4 years ago committed by Liana Husikyan
parent 932a5e31ec
commit bfd7e1a2ad
  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