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
968cb04d
Unverified
Commit
968cb04d
authored
Jul 16, 2021
by
bunsenstraat
Committed by
GitHub
Jul 16, 2021
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #1387 from ethereum/handle-url-param
Fix Loading with code or url param
parents
b2a9b378
f05a11a7
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 @
968cb04d
...
...
@@ -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
([
'sidePanel'
])
// activating host plugin separately
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
params
=
queryParams
.
get
()
...
...
libs/remix-core-plugin/src/lib/compiler-content-imports.ts
View file @
968cb04d
...
...
@@ -26,10 +26,6 @@ export class CompilerImports extends Plugin {
this
.
urlResolver
.
setGistToken
(
token
,
protocol
)
}
onActivation
()
{
this
.
setToken
()
}
isRelativeImport
(
url
)
{
return
/^
([^/]
+
)
/
.
exec
(
url
)
}
...
...
@@ -73,6 +69,7 @@ export class CompilerImports extends Plugin {
let
resolved
try
{
await
this
.
setToken
()
resolved
=
await
this
.
urlResolver
.
resolve
(
url
)
const
{
content
,
cleanUrl
,
type
}
=
resolved
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