Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
B
baas-ide
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
guxukai
baas-ide
Commits
e6d65283
Commit
e6d65283
authored
May 31, 2021
by
yann300
Committed by
lianahus
May 31, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix loading local compiler
parent
6879b1dc
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
compilerContainer.js
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
+2
-1
package.json
package.json
+1
-1
No files found.
apps/remix-ide/src/app/tabs/compileTab/compilerContainer.js
View file @
e6d65283
...
...
@@ -170,6 +170,7 @@ class CompilerContainer {
_retrieveVersion
(
version
)
{
if
(
!
version
)
version
=
this
.
_view
.
versionSelector
.
value
if
(
version
===
'builtin'
)
version
=
this
.
data
.
defaultVersion
return
semver
.
coerce
(
version
)
?
semver
.
coerce
(
version
).
version
:
''
}
...
...
@@ -500,7 +501,7 @@ class CompilerContainer {
// Workers cannot load js on "file:"-URLs and we get a
// "Uncaught RangeError: Maximum call stack size exceeded" error on Chromium,
// resort to non-worker version in that case.
if
(
this
.
data
.
selectedVersion
!==
'builtin'
&&
canUseWorker
(
this
.
data
.
selectedVersion
))
{
if
(
canUseWorker
(
this
.
_retrieveVersion
()
))
{
this
.
compileTabLogic
.
compiler
.
loadVersion
(
true
,
url
)
this
.
setVersionText
(
'(loading using worker)'
)
}
else
{
...
...
package.json
View file @
e6d65283
...
...
@@ -50,7 +50,7 @@
"bumpVersion:libs"
:
"gulp & gulp syncLibVersions;"
,
"browsertest"
:
"sleep 5 && npm run nightwatch_local"
,
"csslint"
:
"csslint --ignore=order-alphabetical --errors='errors,duplicate-properties,empty-rules' --exclude-list='apps/remix-ide/src/assets/css/font-awesome.min.css' apps/remix-ide/src/assets/css/"
,
"downloadsolc_assets"
:
"wget --no-check-certificate https://binaries.soliditylang.org/
bin
/soljson-v0.8.4+commit.c7e474f2.js -O ./apps/remix-ide/src/assets/js/soljson.js"
,
"downloadsolc_assets"
:
"wget --no-check-certificate https://binaries.soliditylang.org/
wasm
/soljson-v0.8.4+commit.c7e474f2.js -O ./apps/remix-ide/src/assets/js/soljson.js"
,
"make-mock-compiler"
:
"node apps/remix-ide/ci/makeMockCompiler.js"
,
"minify"
:
"uglifyjs --in-source-map inline --source-map-inline -c warnings=false"
,
"nightwatch_parallel"
:
"npm run build:e2e && nightwatch --config dist/apps/remix-ide-e2e/nightwatch.js --env=chrome,firefox"
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment