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
3f881d9d
Commit
3f881d9d
authored
Sep 29, 2015
by
chriseth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not use AJAX for retrieving the list of binaries.
parent
1581a4c7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
15 deletions
+15
-15
index.html
index.html
+15
-15
No files found.
index.html
View file @
3f881d9d
...
...
@@ -238,6 +238,7 @@ input[readonly] {
}
</style>
<script
src=
"bin/list.js"
></script>
<script
src=
"libs/jquery-2.1.3.min.js"
></script>
<script
src=
"libs/ace.js"
></script>
<script
src=
"mode-solidity.js"
></script>
...
...
@@ -297,23 +298,22 @@ input[readonly] {
// ----------------- version selector-------------
$
.
get
(
'bin/list.txt'
).
then
(
function
(
versionList
)
{
$
(
'option'
,
'#versionSelector'
).
remove
();
$
.
each
(
versionList
.
split
(
'
\
n'
)
,
function
(
i
,
file
)
{
if
(
file
)
{
// var soljsonSources is provided by bin/list.js
$
(
'option'
,
'#versionSelector'
).
remove
();
$
.
each
(
soljsonSources
,
function
(
i
,
file
)
{
if
(
file
)
{
var
version
=
file
.
replace
(
/soljson-
(
.*
)
.js/
,
"$1"
);
$
(
'#versionSelector'
).
append
(
new
Option
(
version
,
file
));
}
});
$
(
'#versionSelector'
).
change
(
function
()
{
Module
=
null
;
compileJSON
=
null
;
var
script
=
document
.
createElement
(
'script'
);
script
.
type
=
'text/javascript'
;
script
.
src
=
'bin/'
+
$
(
'#versionSelector'
).
val
();
$
(
'head'
).
append
(
script
);
onCompilerLoaded
();
});
}
});
$
(
'#versionSelector'
).
change
(
function
()
{
Module
=
null
;
compileJSON
=
null
;
var
script
=
document
.
createElement
(
'script'
);
script
.
type
=
'text/javascript'
;
script
.
src
=
'bin/'
+
$
(
'#versionSelector'
).
val
();
$
(
'head'
).
append
(
script
);
onCompilerLoaded
();
});
// ----------------- resizeable ui ---------------
...
...
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