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
5d849a1f
Commit
5d849a1f
authored
Jun 24, 2016
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix asmview
parent
2b4cf97a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
ASMCode.js
src/ASMCode.js
+5
-3
No files found.
src/ASMCode.js
View file @
5d849a1f
...
@@ -15,12 +15,15 @@ function ASMCode (_parent, _traceManager, _web3) {
...
@@ -15,12 +15,15 @@ function ASMCode (_parent, _traceManager, _web3) {
}
}
ASMCode
.
prototype
.
render
=
function
()
{
ASMCode
.
prototype
.
render
=
function
()
{
this
.
view
=
(
var
view
=
(
yo
`<select size='10' id='asmitems' ref='itemsList' style=
${
ui
.
formatCss
(
style
.
instructionsList
)}
>
yo
`<select size='10' id='asmitems' ref='itemsList' style=
${
ui
.
formatCss
(
style
.
instructionsList
)}
>
${
this
.
codeView
}
${
this
.
codeView
}
</select>`
</select>`
)
)
return
this
.
view
if
(
!
this
.
view
)
{
this
.
view
=
view
}
return
view
}
}
ASMCode
.
prototype
.
init
=
function
()
{
ASMCode
.
prototype
.
init
=
function
()
{
...
@@ -40,7 +43,6 @@ ASMCode.prototype.indexChanged = function (index) {
...
@@ -40,7 +43,6 @@ ASMCode.prototype.indexChanged = function (index) {
ASMCode
.
prototype
.
codeChanged
=
function
(
code
,
address
,
index
)
{
ASMCode
.
prototype
.
codeChanged
=
function
(
code
,
address
,
index
)
{
this
.
code
=
code
this
.
code
=
code
this
.
address
=
address
this
.
address
=
address
this
.
instructionIndex
=
index
this
.
renderAssemblyItems
()
this
.
renderAssemblyItems
()
yo
.
update
(
this
.
view
,
this
.
render
())
yo
.
update
(
this
.
view
,
this
.
render
())
document
.
getElementById
(
'asmitems'
).
value
=
index
document
.
getElementById
(
'asmitems'
).
value
=
index
...
...
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