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
9be2ed01
Commit
9be2ed01
authored
Jul 15, 2021
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rollback and fix activation ordering
parent
352a4089
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
5 deletions
+3
-5
app.js
apps/remix-ide/src/app.js
+2
-1
compiler-content-imports.ts
libs/remix-core-plugin/src/lib/compiler-content-imports.ts
+1
-4
No files found.
apps/remix-ide/src/app.js
View file @
9be2ed01
...
@@ -460,7 +460,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
...
@@ -460,7 +460,8 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
await
appManager
.
activatePlugin
([
'mainPanel'
,
'menuicons'
,
'tabs'
])
await
appManager
.
activatePlugin
([
'mainPanel'
,
'menuicons'
,
'tabs'
])
await
appManager
.
activatePlugin
([
'sidePanel'
])
// activating host plugin separately
await
appManager
.
activatePlugin
([
'sidePanel'
])
// activating host plugin separately
await
appManager
.
activatePlugin
([
'home'
])
await
appManager
.
activatePlugin
([
'home'
])
await
appManager
.
activatePlugin
([
'hiddenPanel'
,
'pluginManager'
,
'filePanel'
,
'settings'
,
'contextualListener'
,
'terminal'
,
'fetchAndCompile'
,
'contentImport'
])
await
appManager
.
activatePlugin
([
'settings'
])
await
appManager
.
activatePlugin
([
'hiddenPanel'
,
'pluginManager'
,
'filePanel'
,
'contextualListener'
,
'terminal'
,
'fetchAndCompile'
,
'contentImport'
])
const
queryParams
=
new
QueryParams
()
const
queryParams
=
new
QueryParams
()
const
params
=
queryParams
.
get
()
const
params
=
queryParams
.
get
()
...
...
libs/remix-core-plugin/src/lib/compiler-content-imports.ts
View file @
9be2ed01
...
@@ -26,10 +26,6 @@ export class CompilerImports extends Plugin {
...
@@ -26,10 +26,6 @@ export class CompilerImports extends Plugin {
this
.
urlResolver
.
setGistToken
(
token
,
protocol
)
this
.
urlResolver
.
setGistToken
(
token
,
protocol
)
}
}
onActivation
()
{
this
.
setToken
()
}
isRelativeImport
(
url
)
{
isRelativeImport
(
url
)
{
return
/^
([^/]
+
)
/
.
exec
(
url
)
return
/^
([^/]
+
)
/
.
exec
(
url
)
}
}
...
@@ -73,6 +69,7 @@ export class CompilerImports extends Plugin {
...
@@ -73,6 +69,7 @@ export class CompilerImports extends Plugin {
let
resolved
let
resolved
try
{
try
{
await
this
.
setToken
()
resolved
=
await
this
.
urlResolver
.
resolve
(
url
)
resolved
=
await
this
.
urlResolver
.
resolve
(
url
)
const
{
content
,
cleanUrl
,
type
}
=
resolved
const
{
content
,
cleanUrl
,
type
}
=
resolved
self
.
previouslyHandled
[
url
]
=
{
self
.
previouslyHandled
[
url
]
=
{
...
...
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