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
82228bcd
Commit
82228bcd
authored
Jun 04, 2020
by
LianaHus
Committed by
ioedeveloper
Jul 13, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
activate only for inisial setup
parent
671db2eb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
+8
-6
app.js
apps/remix-ide/src/app.js
+8
-6
No files found.
apps/remix-ide/src/app.js
View file @
82228bcd
...
@@ -135,7 +135,7 @@ class App {
...
@@ -135,7 +135,7 @@ class App {
document
.
body
.
appendChild
(
self
.
_view
.
splashScreen
)
document
.
body
.
appendChild
(
self
.
_view
.
splashScreen
)
// setup storage
// setup storage
var
configStorage
=
new
Storage
(
'config-v0.8:'
)
const
configStorage
=
new
Storage
(
'config-v0.8:'
)
// load app config
// load app config
const
config
=
new
Config
(
configStorage
)
const
config
=
new
Config
(
configStorage
)
...
@@ -400,16 +400,18 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -400,16 +400,18 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
await
appManager
.
activatePlugin
([
'home'
,
'sidePanel'
,
'hiddenPanel'
,
'pluginManager'
,
'fileExplorers'
,
'settings'
,
'contextualListener'
,
'scriptRunner'
,
'terminal'
,
'fetchAndCompile'
])
await
appManager
.
activatePlugin
([
'home'
,
'sidePanel'
,
'hiddenPanel'
,
'pluginManager'
,
'fileExplorers'
,
'settings'
,
'contextualListener'
,
'scriptRunner'
,
'terminal'
,
'fetchAndCompile'
])
// Set workspace after initial activation
// Set workspace after initial activation
if
(
Array
.
isArray
(
workspace
))
await
appManager
.
activatePlugin
(
workspace
)
if
(
Array
.
isArray
(
workspace
))
{
await
appManager
.
activatePlugin
(
workspace
)
}
else
{
// activate solidity plugin
appManager
.
ensureActivated
(
'solidity'
)
appManager
.
ensureActivated
(
'udapp'
)
}
// Load and start the service who manager layout and frame
// Load and start the service who manager layout and frame
const
framingService
=
new
FramingService
(
sidePanel
,
menuicons
,
mainview
,
this
.
_components
.
resizeFeature
)
const
framingService
=
new
FramingService
(
sidePanel
,
menuicons
,
mainview
,
this
.
_components
.
resizeFeature
)
framingService
.
start
()
framingService
.
start
()
// preactivate solidity plugin
appManager
.
ensureActivated
(
'solidity'
)
appManager
.
ensureActivated
(
'udapp'
)
// get the file list from the parent iframe
// get the file list from the parent iframe
loadFileFromParent
(
fileManager
)
loadFileFromParent
(
fileManager
)
...
...
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