|
|
|
@ -35,6 +35,7 @@ THE SOFTWARE. |
|
|
|
|
<style type="text/css"> |
|
|
|
|
|
|
|
|
|
</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="libs/mode-solidity.js"></script> |
|
|
|
@ -94,9 +95,9 @@ THE SOFTWARE. |
|
|
|
|
|
|
|
|
|
// ----------------- version selector------------- |
|
|
|
|
|
|
|
|
|
$.get('bin/list.txt').then(function(versionList) { |
|
|
|
|
// var soljsonSources is provided by bin/list.js |
|
|
|
|
$('option', '#versionSelector').remove(); |
|
|
|
|
$.each(versionList.split('\n'), function(i, file) { |
|
|
|
|
$.each(soljsonSources, function(i, file) { |
|
|
|
|
if (file) { |
|
|
|
|
var version = file.replace(/soljson-(.*).js/, "$1"); |
|
|
|
|
$('#versionSelector').append(new Option(version, file)); |
|
|
|
@ -111,7 +112,6 @@ THE SOFTWARE. |
|
|
|
|
$('head').append(script); |
|
|
|
|
onCompilerLoaded(); |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// ----------------- resizeable ui --------------- |
|
|
|
|
|
|
|
|
|