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
8917c13d
Commit
8917c13d
authored
Dec 19, 2017
by
ninabreznik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Little fixes
parent
ccdd9412
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
contextualListener.js
src/app/editor/contextualListener.js
+2
-4
No files found.
src/app/editor/contextualListener.js
View file @
8917c13d
...
@@ -148,7 +148,7 @@ class ContextualListener {
...
@@ -148,7 +148,7 @@ class ContextualListener {
var
fn
=
fnName
+
this
.
_getInputParams
(
node
)
var
fn
=
fnName
+
this
.
_getInputParams
(
node
)
if
(
node
.
attributes
.
visibility
===
'public'
)
{
if
(
node
.
attributes
.
visibility
===
'public'
)
{
executionCost
=
this
.
estimationObj
.
external
[
fn
]
executionCost
=
this
.
estimationObj
.
external
[
fn
]
}
else
if
(
node
.
attributes
.
visibility
===
'
internal
'
)
{
}
else
if
(
node
.
attributes
.
visibility
===
'
private
'
)
{
executionCost
=
this
.
estimationObj
.
internal
[
fn
]
executionCost
=
this
.
estimationObj
.
internal
[
fn
]
}
}
}
else
{
}
else
{
...
@@ -164,11 +164,9 @@ class ContextualListener {
...
@@ -164,11 +164,9 @@ class ContextualListener {
_getContract
(
node
)
{
_getContract
(
node
)
{
for
(
var
i
in
this
.
nodes
)
{
for
(
var
i
in
this
.
nodes
)
{
if
(
this
.
nodes
[
i
].
id
===
node
.
attributes
.
scope
)
{
if
(
this
.
nodes
[
i
].
id
===
node
.
attributes
.
scope
)
{
var
contract
=
this
.
_getGasEstimation
(
this
.
nodes
[
i
])
return
this
.
_getGasEstimation
(
this
.
nodes
[
i
])
break
}
}
}
}
return
contract
}
}
_getInputParams
(
node
)
{
_getInputParams
(
node
)
{
...
...
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