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
4f7d414b
Unverified
Commit
4f7d414b
authored
Jun 05, 2018
by
Iuri Matias
Committed by
GitHub
Jun 05, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #10 from ethereum/yann300-patch-1
add importFileCb to compiler.js
parents
35b572bd
d9412c74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
compiler.js
src/compiler.js
+2
-2
No files found.
src/compiler.js
View file @
4f7d414b
...
...
@@ -46,7 +46,7 @@ function compileFileOrFiles (filename, isDirectory, cb) {
})
}
function
compileContractSources
(
sources
,
cb
)
{
function
compileContractSources
(
sources
,
importFileCb
,
cb
)
{
let
compiler
,
filepath
if
(
!
sources
[
'remix_tests.sol'
])
{
...
...
@@ -55,7 +55,7 @@ function compileContractSources (sources, cb) {
async
.
waterfall
([
function
loadCompiler
(
next
)
{
compiler
=
new
RemixCompiler
()
compiler
=
new
RemixCompiler
(
importFileCb
)
compiler
.
onInternalCompilerLoaded
()
// compiler.event.register('compilerLoaded', this, function (version) {
next
()
...
...
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