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
3dc81a17
Commit
3dc81a17
authored
Jan 23, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove extractProperties
parent
22d2d804
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
9 deletions
+2
-9
SolidityLocals.js
src/ui/SolidityLocals.js
+1
-2
SolidityState.js
src/ui/SolidityState.js
+1
-2
TreeView.js
src/ui/TreeView.js
+0
-5
No files found.
src/ui/SolidityLocals.js
View file @
3dc81a17
...
@@ -13,8 +13,7 @@ class SolidityLocals {
...
@@ -13,8 +13,7 @@ class SolidityLocals {
this
.
basicPanel
=
new
DropdownPanel
(
'Solidity Locals'
,
{
this
.
basicPanel
=
new
DropdownPanel
(
'Solidity Locals'
,
{
json
:
true
,
json
:
true
,
formatData
:
solidityTypeFormatter
.
formatData
,
formatData
:
solidityTypeFormatter
.
formatData
,
extractData
:
solidityTypeFormatter
.
extractData
,
extractData
:
solidityTypeFormatter
.
extractData
extractProperties
:
solidityTypeFormatter
.
extractProperties
})
})
this
.
init
()
this
.
init
()
this
.
view
this
.
view
...
...
src/ui/SolidityState.js
View file @
3dc81a17
...
@@ -12,8 +12,7 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) {
...
@@ -12,8 +12,7 @@ function SolidityState (_parent, _traceManager, _codeManager, _solidityProxy) {
this
.
basicPanel
=
new
DropdownPanel
(
'Solidity State'
,
{
this
.
basicPanel
=
new
DropdownPanel
(
'Solidity State'
,
{
json
:
true
,
json
:
true
,
formatData
:
solidityTypeFormatter
.
formatData
,
formatData
:
solidityTypeFormatter
.
formatData
,
extractData
:
solidityTypeFormatter
.
extractData
,
extractData
:
solidityTypeFormatter
.
extractData
extractProperties
:
solidityTypeFormatter
.
extractProperties
})
})
this
.
init
()
this
.
init
()
this
.
view
this
.
view
...
...
src/ui/TreeView.js
View file @
3dc81a17
...
@@ -12,7 +12,6 @@ class TreeView {
...
@@ -12,7 +12,6 @@ class TreeView {
this
.
beforeJsonValueRendered
=
opts
.
beforeJsonValueRendered
||
noop
this
.
beforeJsonValueRendered
=
opts
.
beforeJsonValueRendered
||
noop
this
.
extractData
=
opts
.
extractData
||
this
.
extractDataDefault
this
.
extractData
=
opts
.
extractData
||
this
.
extractDataDefault
this
.
formatData
=
opts
.
formatData
||
this
.
formatDataDefault
this
.
formatData
=
opts
.
formatData
||
this
.
formatDataDefault
this
.
extractProperties
=
opts
.
extractProperties
||
this
.
extractPropertiesDefault
this
.
view
=
null
this
.
view
=
null
this
.
cssLabel
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
label
)
this
.
cssLabel
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
label
)
this
.
cssUl
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
cssUl
)
this
.
cssUl
=
ui
.
formatCss
(
opts
.
css
||
{},
style
.
cssUl
)
...
@@ -68,10 +67,6 @@ class TreeView {
...
@@ -68,10 +67,6 @@ class TreeView {
return
yo
`<li id=
${
key
+
(
new
Date
().
getUTCMilliseconds
())}
style=
${
this
.
cssLi
}
>
${
label
}${
renderedChildren
}
</li>`
return
yo
`<li id=
${
key
+
(
new
Date
().
getUTCMilliseconds
())}
style=
${
this
.
cssLi
}
>
${
label
}${
renderedChildren
}
</li>`
}
}
extractPropertiesDefault
(
key
,
data
)
{
return
{}
}
formatDataDefault
(
key
,
data
)
{
formatDataDefault
(
key
,
data
)
{
return
yo
`<label>
${
key
}
:
${
data
.
self
}
</label>`
return
yo
`<label>
${
key
}
:
${
data
.
self
}
</label>`
}
}
...
...
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