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
5d8507f2
Commit
5d8507f2
authored
Aug 30, 2017
by
yann300
Committed by
GitHub
Aug 30, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #737 from ethereum/fixDetails
add contract name directly under <option>
parents
5612e799
4bee5355
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
compile-tab.js
src/app/tabs/compile-tab.js
+1
-1
contracts.js
test-browser/helpers/contracts.js
+1
-1
No files found.
src/app/tabs/compile-tab.js
View file @
5d8507f2
...
@@ -323,7 +323,7 @@ function compileTab (container, appAPI, appEvents, opts) {
...
@@ -323,7 +323,7 @@ function compileTab (container, appAPI, appEvents, opts) {
contractsDetails
[
name
]
=
parseContracts
(
name
,
data
.
contracts
[
name
],
appAPI
.
currentCompiledSourceCode
())
contractsDetails
[
name
]
=
parseContracts
(
name
,
data
.
contracts
[
name
],
appAPI
.
currentCompiledSourceCode
())
var
contractName
=
yo
`
var
contractName
=
yo
`
<option>
<option>
<div class="
${
css
.
name
}
">
${
name
}
</div>
${
name
}
</option>`
</option>`
contractNames
.
appendChild
(
contractName
)
contractNames
.
appendChild
(
contractName
)
}
}
...
...
test-browser/helpers/contracts.js
View file @
5d8507f2
...
@@ -13,7 +13,7 @@ function checkCompiledContracts (browser, compiled, callback) {
...
@@ -13,7 +13,7 @@ function checkCompiledContracts (browser, compiled, callback) {
}
else
{
}
else
{
var
ret
=
[]
var
ret
=
[]
for
(
var
c
=
0
;
c
<
contracts
.
length
;
c
++
)
{
for
(
var
c
=
0
;
c
<
contracts
.
length
;
c
++
)
{
ret
.
push
(
contracts
[
c
].
querySelector
(
'div'
).
innerHTML
)
ret
.
push
(
contracts
[
c
].
innerHTML
)
}
}
return
ret
return
ret
}
}
...
...
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