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
6af8b258
Commit
6af8b258
authored
Sep 19, 2019
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
keep a list of plugin we don't want to autoload && and add remixd to it.
parent
34f090e8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
remixAppManager.js
src/remixAppManager.js
+4
-1
No files found.
src/remixAppManager.js
View file @
6af8b258
...
@@ -19,11 +19,14 @@ export class RemixAppManager extends PluginEngine {
...
@@ -19,11 +19,14 @@ export class RemixAppManager extends PluginEngine {
constructor
(
plugins
)
{
constructor
(
plugins
)
{
super
(
plugins
,
settings
)
super
(
plugins
,
settings
)
this
.
event
=
new
EventEmitter
()
this
.
event
=
new
EventEmitter
()
this
.
donotAutoReload
=
[
'remixd'
]
// that would be a bad practice to force loading some plugins at page load.
this
.
registered
=
{}
this
.
registered
=
{}
}
}
onActivated
(
plugin
)
{
onActivated
(
plugin
)
{
localStorage
.
setItem
(
'workspace'
,
JSON
.
stringify
(
this
.
actives
))
if
(
!
this
.
donotAutoReload
.
includes
(
plugin
.
name
))
{
localStorage
.
setItem
(
'workspace'
,
JSON
.
stringify
(
this
.
actives
))
}
this
.
event
.
emit
(
'activate'
,
plugin
.
name
)
this
.
event
.
emit
(
'activate'
,
plugin
.
name
)
}
}
...
...
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