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
93a068a5
Commit
93a068a5
authored
Nov 03, 2016
by
Alex Beregszaszi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove UDApp from the contract display
parent
21d1a5db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
7 deletions
+1
-7
renderer.js
src/app/renderer.js
+1
-7
No files found.
src/app/renderer.js
View file @
93a068a5
...
@@ -85,11 +85,6 @@ Renderer.prototype.contracts = function (data, source) {
...
@@ -85,11 +85,6 @@ Renderer.prototype.contracts = function (data, source) {
})
})
}
}
// rendering function used by udapp. they need data and source
var
combined
=
function
(
contractName
,
jsonInterface
,
bytecode
)
{
return
JSON
.
stringify
([{
name
:
contractName
,
interface
:
jsonInterface
,
bytecode
:
bytecode
}])
}
var
renderOutputModifier
=
function
(
contractName
,
$contractOutput
)
{
var
renderOutputModifier
=
function
(
contractName
,
$contractOutput
)
{
var
contract
=
data
.
contracts
[
contractName
]
var
contract
=
data
.
contracts
[
contractName
]
if
(
contract
.
bytecode
)
{
if
(
contract
.
bytecode
)
{
...
@@ -100,12 +95,11 @@ Renderer.prototype.contracts = function (data, source) {
...
@@ -100,12 +95,11 @@ Renderer.prototype.contracts = function (data, source) {
if
(
contract
.
bytecode
)
{
if
(
contract
.
bytecode
)
{
$contractOutput
.
append
(
uiHelper
.
textRow
(
'Web3 deploy'
,
uiHelper
.
gethDeploy
(
contractName
.
toLowerCase
(),
contract
[
'interface'
],
contract
.
bytecode
),
'deploy'
))
$contractOutput
.
append
(
uiHelper
.
textRow
(
'Web3 deploy'
,
uiHelper
.
gethDeploy
(
contractName
.
toLowerCase
(),
contract
[
'interface'
],
contract
.
bytecode
),
'deploy'
))
$contractOutput
.
append
(
uiHelper
.
textRow
(
'uDApp'
,
combined
(
contractName
,
contract
[
'interface'
],
contract
.
bytecode
),
'deploy'
))
}
}
var
ctrSource
=
getSource
(
contractName
,
source
,
data
)
var
ctrSource
=
getSource
(
contractName
,
source
,
data
)
return
$contractOutput
.
append
(
uiHelper
.
getDetails
(
contract
,
ctrSource
,
contractName
))
return
$contractOutput
.
append
(
uiHelper
.
getDetails
(
contract
,
ctrSource
,
contractName
))
}
}
// //
var
self
=
this
var
self
=
this
var
getSource
=
function
(
contractName
,
source
,
data
)
{
var
getSource
=
function
(
contractName
,
source
,
data
)
{
...
...
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