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
b5ae8417
Commit
b5ae8417
authored
Jan 26, 2017
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add setReducedTrace
parent
446a6cc2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
4 deletions
+10
-4
SoliditySlider.js
src/ui/SoliditySlider.js
+10
-4
No files found.
src/ui/SoliditySlider.js
View file @
b5ae8417
...
...
@@ -3,12 +3,18 @@ var Slider = require('./Slider')
var
utils
=
require
(
'../helpers/util.js'
)
class
SoliditySlider
extends
Slider
{
constructor
(
_traceManager
,
reducedTraceBySourceLocation
)
{
constructor
(
_traceManager
)
{
super
(
_traceManager
)
this
.
reducedTraceBySourceLocation
=
reducedTraceBySourceLocation
this
.
reducedTraceBySourceLocation
}
setValue
(
value
)
{
super
.
setValue
(
utils
.
findLowerBoundValue
(
value
,
this
.
reducedTraceBySourceLocation
))
setValue
(
_value
)
{
if
(
this
.
reducedTraceBySourceLocation
)
{
super
.
setValue
(
utils
.
findLowerBound
(
_value
,
this
.
reducedTraceBySourceLocation
))
}
}
setReducedTrace
(
_reducedTraceBySourceLocation
)
{
super
.
init
(
_reducedTraceBySourceLocation
.
length
)
this
.
reducedTraceBySourceLocation
=
_reducedTraceBySourceLocation
}
}
...
...
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