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
2d35b1ee
Commit
2d35b1ee
authored
Aug 23, 2021
by
yann300
Committed by
davidzagi93@gmail.com
Sep 14, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix iframe plugin api
parent
5124fb7f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
29 deletions
+10
-29
index.ts
libs/remix-ui/solidity-compiler/src/index.ts
+2
-2
compiler.ts
libs/remix-ui/solidity-compiler/src/lib/actions/compiler.ts
+8
-0
icompiler-api.ts
libs/remix-ui/solidity-compiler/src/lib/icompiler-api.ts
+0
-27
No files found.
libs/remix-ui/solidity-compiler/src/index.ts
View file @
2d35b1ee
export
*
from
'./lib/solidity-compiler'
export
*
from
'./lib/solidity-compiler'
export
*
from
'./lib/logic'
export
*
from
'./lib/logic'
export
*
from
'./lib/icompiler-api'
\ No newline at end of file
libs/remix-ui/solidity-compiler/src/lib/actions/compiler.ts
View file @
2d35b1ee
...
@@ -26,7 +26,11 @@ export const resetCompilerMode = () => (dispatch: React.Dispatch<any>) => {
...
@@ -26,7 +26,11 @@ export const resetCompilerMode = () => (dispatch: React.Dispatch<any>) => {
})
})
}
}
<<<<<<<
HEAD
export
const
listenToEvents
=
(
compileTabLogic
:
CompileTabLogic
,
api
)
=>
(
dispatch
:
React
.
Dispatch
<
any
>
)
=>
{
export
const
listenToEvents
=
(
compileTabLogic
:
CompileTabLogic
,
api
)
=>
(
dispatch
:
React
.
Dispatch
<
any
>
)
=>
{
=======
export
const
listenToEvents
=
(
compileTabLogic
,
api
)
=>
(
dispatch
:
React
.
Dispatch
<
any
>
)
=>
{
>>>>>>>
5
a22644c4
(
fix
iframe
plugin
api
)
api
.
onSessionSwitched
=
()
=>
{
api
.
onSessionSwitched
=
()
=>
{
dispatch
(
setEditorMode
(
'sessionSwitched'
))
dispatch
(
setEditorMode
(
'sessionSwitched'
))
}
}
...
@@ -42,7 +46,11 @@ export const listenToEvents = (compileTabLogic: CompileTabLogic, api) => (dispat
...
@@ -42,7 +46,11 @@ export const listenToEvents = (compileTabLogic: CompileTabLogic, api) => (dispat
api
.
onContentChanged
=
()
=>
{
api
.
onContentChanged
=
()
=>
{
dispatch
(
setEditorMode
(
'contentChanged'
))
dispatch
(
setEditorMode
(
'contentChanged'
))
}
}
<<<<<<<
HEAD
=======
>>>>>>>
5
a22644c4
(
fix
iframe
plugin
api
)
compileTabLogic
.
compiler
.
event
.
register
(
'loadingCompiler'
,
()
=>
{
compileTabLogic
.
compiler
.
event
.
register
(
'loadingCompiler'
,
()
=>
{
dispatch
(
setCompilerMode
(
'loadingCompiler'
))
dispatch
(
setCompilerMode
(
'loadingCompiler'
))
})
})
...
...
libs/remix-ui/solidity-compiler/src/lib/icompiler-api.ts
deleted
100644 → 0
View file @
5124fb7f
export
type
onCurrentFileChanged
=
(
fileName
:
string
)
=>
void
export
interface
ICompilerApi
{
contractMap
:
{
file
:
string
}
|
Record
<
string
,
any
>
compileErrors
:
any
currentFile
:
string
configurationSettings
:
any
setHardHatCompilation
(
value
:
boolean
):
void
setSelectedVersion
(
version
:
string
):
void
getCompilationResult
():
any
setCompilerConfig
:
(
settings
:
any
)
=>
void
getParameters
:
()
=>
any
setParameters
:
(
params
)
=>
void
getConfiguration
:
(
name
:
string
)
=>
string
setConfiguration
:
(
name
:
string
,
value
:
string
)
=>
void
fileProviderOf
:
(
file
:
string
)
=>
string
getFileManagerMode
:
()
=>
string
fileExists
:
(
file
:
string
)
=>
Promise
<
boolean
>
writeFile
:
(
file
:
string
,
content
:
string
)
=>
Promise
<
void
>
readFile
:
(
file
:
string
)
=>
Promise
<
string
>
open
:
(
file
:
string
)
=>
void
onCurrentFileChanged
:
(
listener
:
onCurrentFileChanged
)
=>
void
}
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