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
299ffd2d
Commit
299ffd2d
authored
May 09, 2019
by
Grandschtroumpf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
standard
parent
9e8a9f4c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
app.js
src/app.js
+4
-1
panel.js
src/app/components/panel.js
+2
-3
vertical-icons.js
src/app/components/vertical-icons.js
+0
-1
No files found.
src/app.js
View file @
299ffd2d
...
...
@@ -321,7 +321,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
const
appManager
=
new
RemixAppManager
(
appStore
)
registry
.
put
({
api
:
appManager
,
name
:
'appmanager'
})
// ----------------- file manager ----------------------------
self
.
_components
.
fileManager
=
new
FileManager
()
const
fileManager
=
self
.
_components
.
fileManager
...
...
@@ -366,8 +365,12 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
pluginManagerComponent
.
setApp
(
appManager
)
pluginManagerComponent
.
setStore
(
appStore
)
<<<<<<<
HEAD
self
.
_components
.
mainview
.
init
()
=======
self
.
_components
.
editorpanel
.
init
()
>>>>>>>
standard
self
.
_components
.
fileManager
.
init
()
self
.
_view
.
mainpanel
.
appendChild
(
self
.
_components
.
mainview
.
render
())
self
.
_view
.
iconpanel
.
appendChild
(
verticalIconsComponent
.
render
())
...
...
src/app/components/panel.js
View file @
299ffd2d
...
...
@@ -34,7 +34,7 @@ export class AbstractPanel {
this
.
events
=
new
EventEmitter
()
this
.
contents
=
{}
this
.
active
=
undefined
// View where the plugin HTMLElement leaves
this
.
view
=
yo
`<div id="plugins" class="
${
css
.
plugins
}
"></div>`
...
...
@@ -70,14 +70,13 @@ export class AbstractPanel {
})
}
/**
* Add the plugin to the panel
* @param {String} name the name of the plugin
* @param {HTMLElement} content the HTMLContent of the plugin
*/
add
(
name
,
content
)
{
if
(
!!
this
.
contents
[
name
])
throw
new
Error
(
`Plugin
${
name
}
already rendered`
)
if
(
this
.
contents
[
name
])
throw
new
Error
(
`Plugin
${
name
}
already rendered`
)
content
.
style
.
height
=
'100%'
content
.
style
.
width
=
'100%'
content
.
style
.
border
=
'0'
...
...
src/app/components/vertical-icons.js
View file @
299ffd2d
...
...
@@ -359,7 +359,6 @@ export class VerticalIcons {
}
}
const
css
=
csjs
`
.homeIcon {
display: block;
...
...
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