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
88b21a13
Commit
88b21a13
authored
Dec 03, 2018
by
yann300
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove init param check
parent
2604b3a8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
36 deletions
+0
-36
app.js
src/app.js
+0
-36
No files found.
src/app.js
View file @
88b21a13
...
...
@@ -503,42 +503,6 @@ Please make a backup of your contracts and start using http://remix.ethereum.org
var
queryParams
=
new
QueryParams
()
// check init query parameters from the URL once the compiler is loaded
self
.
_components
.
compiler
.
event
.
register
(
'compilerLoaded'
,
this
,
function
(
version
)
{
self
.
runCompiler
()
if
(
queryParams
.
get
().
context
)
{
let
context
=
queryParams
.
get
().
context
let
endPointUrl
=
queryParams
.
get
().
endPointUrl
executionContext
.
setContext
(
context
,
endPointUrl
,
()
=>
{
modalDialogCustom
.
confirm
(
null
,
'Are you sure you want to connect to an ethereum node?'
,
()
=>
{
if
(
!
endPointUrl
)
{
endPointUrl
=
'http://localhost:8545'
}
modalDialogCustom
.
prompt
(
null
,
'Web3 Provider Endpoint'
,
endPointUrl
,
(
target
)
=>
{
executionContext
.
setProviderFromEndpoint
(
target
,
context
)
},
()
=>
{})
},
()
=>
{})
},
(
alertMsg
)
=>
{
modalDialogCustom
.
alert
(
alertMsg
)
})
}
if
(
queryParams
.
get
().
debugtx
)
{
self
.
startdebugging
(
queryParams
.
get
().
debugtx
)
}
if
(
queryParams
.
get
().
pluginurl
)
{
var
title
=
queryParams
.
get
().
plugintitle
var
url
=
queryParams
.
get
().
pluginurl
modalDialogCustom
.
confirm
(
null
,
`Remix is going to load the extension "
${
title
}
" located at
${
queryParams
.
get
().
pluginurl
}
. Are you sure to load this external extension?`
,
()
=>
{
self
.
_components
.
righthandpanel
.
loadPlugin
({
title
,
url
})
})
}
})
var
loadingFromGist
=
self
.
loadFromGist
(
queryParams
.
get
())
if
(
!
loadingFromGist
)
{
// insert ballot contract if there are no files to show
...
...
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