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
ac4d057d
Commit
ac4d057d
authored
Jun 23, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
linting
parent
cd997ee6
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
assembly-items.tsx
...mix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx
+1
-1
assembly-items.ts
libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts
+1
-1
No files found.
libs/remix-ui/debugger-ui/src/lib/vm-debugger/assembly-items.tsx
View file @
ac4d057d
...
@@ -48,7 +48,7 @@ export const AssemblyItems = ({ registerEvent }) => {
...
@@ -48,7 +48,7 @@ export const AssemblyItems = ({ registerEvent }) => {
}
}
const
indexChanged
=
(
index
:
number
)
=>
{
const
indexChanged
=
(
index
:
number
)
=>
{
console
.
log
(
"index "
+
index
)
console
.
log
(
'index '
+
index
)
if
(
index
<
0
)
return
if
(
index
<
0
)
return
const
codeView
=
asmItemsRef
.
current
const
codeView
=
asmItemsRef
.
current
...
...
libs/remix-ui/debugger-ui/src/reducers/assembly-items.ts
View file @
ac4d057d
...
@@ -28,7 +28,7 @@ const reducedOpcode = (opCodes) => {
...
@@ -28,7 +28,7 @@ const reducedOpcode = (opCodes) => {
const
top
=
bottom
+
length
const
top
=
bottom
+
length
return
{
return
{
index
:
opCodes
.
index
-
bottom
,
index
:
opCodes
.
index
-
bottom
,
nextIndex
:
opCodes
.
nextIndex
-
bottom
,
nextIndex
:
opCodes
.
nextIndex
-
bottom
,
display
:
opCodes
.
code
.
slice
(
bottom
,
top
)
display
:
opCodes
.
code
.
slice
(
bottom
,
top
)
}
}
}
}
...
...
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