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
e0d932d8
Commit
e0d932d8
authored
Oct 02, 2020
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
deactivatePluginsFromUrl
parent
2d846f60
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
app.js
apps/remix-ide/src/app.js
+8
-0
No files found.
apps/remix-ide/src/app.js
View file @
e0d932d8
...
@@ -405,6 +405,14 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -405,6 +405,14 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
// Set workspace after initial activation
// Set workspace after initial activation
if
(
Array
.
isArray
(
workspace
))
{
if
(
Array
.
isArray
(
workspace
))
{
appManager
.
activatePlugin
(
workspace
).
then
(()
=>
{
appManager
.
activatePlugin
(
workspace
).
then
(()
=>
{
try
{
if
(
params
.
deactivateplugins
)
{
appManager
.
deactivatePlugin
(
params
.
deactivateplugins
.
split
(
','
))
}
}
catch
(
e
)
{
console
.
log
(
e
)
}
// If plugins are loaded from the URL params, we focus on the last one.
// If plugins are loaded from the URL params, we focus on the last one.
if
(
pluginLoader
.
current
===
'queryParams'
&&
workspace
.
length
>
0
)
menuicons
.
select
(
workspace
[
workspace
.
length
-
1
])
if
(
pluginLoader
.
current
===
'queryParams'
&&
workspace
.
length
>
0
)
menuicons
.
select
(
workspace
[
workspace
.
length
-
1
])
...
...
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