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
af63ecb2
Commit
af63ecb2
authored
Aug 25, 2021
by
ioedeveloper
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modify autoCompile check and url param value
parent
2e42ac11
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
url.spec.ts
apps/remix-ide-e2e/src/tests/url.spec.ts
+1
-1
compiler-container.tsx
...remix-ui/solidity-compiler/src/lib/compiler-container.tsx
+3
-3
compileTabLogic.ts
...mix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts
+1
-1
No files found.
apps/remix-ide-e2e/src/tests/url.spec.ts
View file @
af63ecb2
...
...
@@ -71,7 +71,7 @@ module.exports = {
'Should load using URL compiler params'
:
function
(
browser
:
NightwatchBrowser
)
{
browser
.
pause
(
5000
)
.
url
(
'http://127.0.0.1:8080/#optimize=true&runs=300&autoCompile&evmVersion=istanbul&version=soljson-v0.7.4+commit.3f05b770.js'
)
.
url
(
'http://127.0.0.1:8080/#optimize=true&runs=300&autoCompile
=true
&evmVersion=istanbul&version=soljson-v0.7.4+commit.3f05b770.js'
)
.
refresh
()
.
pause
(
5000
)
.
clickLaunchIcon
(
'solidity'
)
...
...
libs/remix-ui/solidity-compiler/src/lib/compiler-container.tsx
View file @
af63ecb2
...
...
@@ -74,9 +74,9 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
return
{
...
prevState
,
hideWarnings
:
api
.
getConfiguration
(
'hideWarnings'
)
||
false
,
autoCompile
:
(
autoCompile
!==
null
)
&&
(
autoCompile
!==
undefined
)
?
autoCompile
:
api
.
getConfiguration
(
'autoCompile'
)
||
false
,
autoCompile
:
typeof
autoCompile
===
'boolean'
?
autoCompile
:
api
.
getConfiguration
(
'autoCompile'
)
||
false
,
includeNightlies
:
api
.
getConfiguration
(
'includeNightlies'
)
||
false
,
optimise
:
(
optimize
!==
null
)
&&
(
optimize
!==
undefined
)
?
optimize
:
api
.
getConfiguration
(
'optimise'
)
||
false
,
optimise
:
typeof
optimize
===
'boolean'
?
optimize
:
api
.
getConfiguration
(
'optimise'
)
||
false
,
runs
:
(
runs
!==
null
)
&&
(
runs
!==
'null'
)
&&
(
runs
!==
undefined
)
&&
(
runs
!==
'undefined'
)
?
runs
:
200
,
evmVersion
:
(
evmVersion
!==
null
)
&&
(
evmVersion
!==
'null'
)
&&
(
evmVersion
!==
undefined
)
&&
(
evmVersion
!==
'undefined'
)
?
evmVersion
:
'default'
}
...
...
@@ -408,7 +408,7 @@ export const CompilerContainer = (props: CompilerContainerProps) => {
const
checked
=
e
.
target
.
checked
api
.
setConfiguration
(
'autoCompile'
,
checked
)
state
.
autoCompile
&&
compile
()
checked
&&
compile
()
setState
(
prevState
=>
{
return
{
...
prevState
,
autoCompile
:
checked
}
})
...
...
libs/remix-ui/solidity-compiler/src/lib/logic/compileTabLogic.ts
View file @
af63ecb2
...
...
@@ -16,7 +16,7 @@ export class CompileTab extends Plugin {
public
runs
public
evmVersion
:
string
public
compilerImport
public
event
z
public
event
constructor
(
public
api
,
public
contentImport
)
{
super
(
profile
)
...
...
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