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
d8484db4
Unverified
Commit
d8484db4
authored
Oct 30, 2019
by
Liana Husikyan
Committed by
GitHub
Oct 30, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2403 from helderjnpinto/fix/types_space
use white-space:pre-wrap for spaces make effect
parents
a66328ff
ab71167d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
SolidityTypeFormatter.js
...gger/debuggerUI/vmDebugger/utils/SolidityTypeFormatter.js
+1
-1
No files found.
src/app/tabs/debugger/debuggerUI/vmDebugger/utils/SolidityTypeFormatter.js
View file @
d8484db4
...
@@ -12,7 +12,7 @@ function formatSelf (key, data) {
...
@@ -12,7 +12,7 @@ function formatSelf (key, data) {
if
(
data
.
type
===
'string'
)
{
if
(
data
.
type
===
'string'
)
{
data
.
self
=
JSON
.
stringify
(
data
.
self
)
data
.
self
=
JSON
.
stringify
(
data
.
self
)
}
}
return
yo
`<label style=
${
keyStyle
}
>
${
key
}
: <label style=
${
style
}
>
${
data
.
self
}
</label><label style='font-style:italic'>
${
data
.
isProperty
||
!
data
.
type
?
''
:
' '
+
data
.
type
}
</label></label>`
return
yo
`<label style='
${
keyStyle
}
;white-space:pre-wrap;'>
${
' '
+
key
}
:<label style=
${
style
}
>
${
' '
+
data
.
self
}
</label><label style='font-style:italic'>
${
data
.
isProperty
||
!
data
.
type
?
''
:
' '
+
data
.
type
}
</label></label>`
}
}
function
extractData
(
item
,
parent
,
key
)
{
function
extractData
(
item
,
parent
,
key
)
{
...
...
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