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
749ad203
Commit
749ad203
authored
Dec 26, 2018
by
Iuri Matias
Committed by
yann300
Jan 04, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup; remove extra parameter no longer needed in recorder constructor
parent
35411186
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
12 deletions
+3
-12
run-tab.js
src/app/tabs/run-tab.js
+2
-11
recorder.js
src/app/tabs/runTab/recorder.js
+1
-1
No files found.
src/app/tabs/run-tab.js
View file @
749ad203
'use strict'
var
$
=
require
(
'jquery'
)
var
yo
=
require
(
'yo-yo'
)
var
EventManager
=
require
(
'../../lib/events'
)
...
...
@@ -12,18 +11,13 @@ var ContractDropdownUI = require('./runTab/contractDropdown.js')
var
RecorderUI
=
require
(
'./runTab/recorder.js'
)
function
runTab
(
opts
,
localRegistry
)
{
/* -------------------------
VARIABLES
--------------------------- */
var
self
=
this
self
.
event
=
new
EventManager
()
self
.
_view
=
{}
self
.
data
=
{
count
:
0
,
text
:
`All transactions (deployed contracts and function executions)
in this environment can be saved and replayed in
another environment. e.g Transactions created in
Javascript VM can be replayed in the Injected Web3.`
text
:
`All transactions (deployed contracts and function executions) in this environment can be saved and replayed in
another environment. e.g Transactions created in Javascript VM can be replayed in the Injected Web3.`
}
self
.
_components
=
{}
self
.
_components
.
registry
=
localRegistry
||
globlalRegistry
...
...
@@ -124,9 +118,6 @@ function runTab (opts, localRegistry) {
status
.
appendChild
(
self
.
_view
.
collapsedView
)
}
})
/* -------------------------
MAIN HTML ELEMENT
--------------------------- */
var
settingsUI
=
new
SettingsUI
(
container
,
self
)
var
contractDropdownUI
=
new
ContractDropdownUI
(
self
)
var
el
=
yo
`
...
...
src/app/tabs/runTab/recorder.js
View file @
749ad203
...
...
@@ -8,7 +8,7 @@ var modalDialogCustom = require('../../ui/modal-dialog-custom')
class
RecorderUI
{
constructor
(
r
egistry
,
r
unTabEvent
,
parentSelf
)
{
constructor
(
runTabEvent
,
parentSelf
)
{
this
.
parentSelf
=
parentSelf
this
.
recorder
=
new
Recorder
(
this
.
parentSelf
.
_deps
.
udapp
,
this
.
parentSelf
.
_deps
.
logCallback
)
...
...
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