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
008399c7
Unverified
Commit
008399c7
authored
Jul 22, 2019
by
yann300
Committed by
GitHub
Jul 22, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2207 from ethereum/plugin-permissions
Add settings for plugin engine
parents
8fa4b049
bd25775f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
package-lock.json
package-lock.json
+0
-0
remixAppManager.js
src/remixAppManager.js
+7
-2
No files found.
package-lock.json
View file @
008399c7
This diff is collapsed.
Click to expand it.
src/remixAppManager.js
View file @
008399c7
...
@@ -8,11 +8,16 @@ const requiredModules = [ // services + layout views + system views
...
@@ -8,11 +8,16 @@ const requiredModules = [ // services + layout views + system views
'mainPanel'
,
'hiddenPanel'
,
'sidePanel'
,
'menuicons'
,
'fileExplorers'
,
'mainPanel'
,
'hiddenPanel'
,
'sidePanel'
,
'menuicons'
,
'fileExplorers'
,
'terminal'
,
'settings'
,
'pluginManager'
]
'terminal'
,
'settings'
,
'pluginManager'
]
const
settings
=
{
permissionHandler
:
new
PermissionHandler
(),
autoActivate
:
false
,
natives
:
[
'vyper'
]
// Force iframe plugin to be seen as native
}
export
class
RemixAppManager
extends
PluginEngine
{
export
class
RemixAppManager
extends
PluginEngine
{
constructor
(
plugins
)
{
constructor
(
plugins
)
{
super
(
plugins
)
super
(
plugins
,
settings
)
this
.
permissionHandler
=
new
PermissionHandler
()
this
.
event
=
new
EventEmitter
()
this
.
event
=
new
EventEmitter
()
this
.
registered
=
{}
this
.
registered
=
{}
}
}
...
...
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