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
a12d40fe
Commit
a12d40fe
authored
Dec 27, 2019
by
Iuri Matias
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove executionContext from mainview
parent
389b6ecc
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
5 deletions
+2
-5
app.js
src/app.js
+1
-1
main-view.js
src/app/panels/main-view.js
+1
-3
terminal.js
src/app/panels/terminal.js
+0
-1
No files found.
src/app.js
View file @
a12d40fe
...
@@ -255,7 +255,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -255,7 +255,7 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// LAYOUT & SYSTEM VIEWS
// LAYOUT & SYSTEM VIEWS
const
appPanel
=
new
MainPanel
()
const
appPanel
=
new
MainPanel
()
const
mainview
=
new
MainView
(
editor
,
appPanel
,
fileManager
,
appManager
,
txlistener
,
eventsDecoder
,
executionContext
,
blockchain
)
const
mainview
=
new
MainView
(
editor
,
appPanel
,
fileManager
,
appManager
,
txlistener
,
eventsDecoder
,
blockchain
)
registry
.
put
({
api
:
mainview
,
name
:
'mainview'
})
registry
.
put
({
api
:
mainview
,
name
:
'mainview'
})
appManager
.
register
([
appManager
.
register
([
...
...
src/app/panels/main-view.js
View file @
a12d40fe
...
@@ -20,7 +20,7 @@ var css = csjs`
...
@@ -20,7 +20,7 @@ var css = csjs`
`
`
export
class
MainView
{
export
class
MainView
{
constructor
(
editor
,
mainPanel
,
fileManager
,
appManager
,
txListener
,
eventsDecoder
,
executionContext
,
blockchain
)
{
constructor
(
editor
,
mainPanel
,
fileManager
,
appManager
,
txListener
,
eventsDecoder
,
blockchain
)
{
var
self
=
this
var
self
=
this
self
.
event
=
new
EventManager
()
self
.
event
=
new
EventManager
()
self
.
_view
=
{}
self
.
_view
=
{}
...
@@ -31,7 +31,6 @@ export class MainView {
...
@@ -31,7 +31,6 @@ export class MainView {
self
.
mainPanel
=
mainPanel
self
.
mainPanel
=
mainPanel
self
.
txListener
=
txListener
self
.
txListener
=
txListener
self
.
eventsDecoder
=
eventsDecoder
self
.
eventsDecoder
=
eventsDecoder
self
.
executionContext
=
executionContext
self
.
blockchain
=
blockchain
self
.
blockchain
=
blockchain
this
.
appManager
=
appManager
this
.
appManager
=
appManager
this
.
init
()
this
.
init
()
...
@@ -102,7 +101,6 @@ export class MainView {
...
@@ -102,7 +101,6 @@ export class MainView {
appManager
:
this
.
appManager
,
appManager
:
this
.
appManager
,
eventsDecoder
:
this
.
eventsDecoder
,
eventsDecoder
:
this
.
eventsDecoder
,
txListener
:
this
.
txListener
,
txListener
:
this
.
txListener
,
executionContext
:
this
.
executionContext
,
blockchain
:
this
.
blockchain
blockchain
:
this
.
blockchain
},
},
{
{
...
...
src/app/panels/terminal.js
View file @
a12d40fe
...
@@ -41,7 +41,6 @@ class Terminal extends Plugin {
...
@@ -41,7 +41,6 @@ class Terminal extends Plugin {
super
(
profile
)
super
(
profile
)
var
self
=
this
var
self
=
this
self
.
event
=
new
EventManager
()
self
.
event
=
new
EventManager
()
self
.
executionContext
=
opts
.
executionContext
self
.
blockchain
=
opts
.
blockchain
self
.
blockchain
=
opts
.
blockchain
self
.
_api
=
api
self
.
_api
=
api
self
.
_opts
=
opts
self
.
_opts
=
opts
...
...
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