fix indentation/whitespce in index.html

pull/1/head
d11e9 9 years ago
parent 24efa2e57a
commit a875291821
  1. 18
      index.html

@ -34,9 +34,7 @@ THE SOFTWARE.
<link rel="stylesheet" href="assets/css/browser-solidity.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
<style type="text/css">
</style>
<script src="bin/list.js"></script>
<script src="assets/js/jquery-2.1.3.min.js"></script>
<script src="assets/js/ace.js"></script>
@ -47,7 +45,6 @@ THE SOFTWARE.
<script src="assets/js/web3.min.js"></script>
<script src="assets/js/ballot.sol.js"></script>
</head>
<body>
@ -126,8 +123,8 @@ THE SOFTWARE.
// ------------------ gist load ----------------
function getGistId(str) {
var idr = /[0-9A-Fa-f]{8,}/
var match = idr.exec(str)[0]
var idr = /[0-9A-Fa-f]{8,}/;
var match = idr.exec(str)[0];
return match;
}
@ -138,7 +135,7 @@ THE SOFTWARE.
var gistId;
var key = location_hash_params[index+1];
if (key === '') {
var str = prompt("Enter the URL or ID of the Gist you'd like to load.")
var str = prompt("Enter the URL or ID of the Gist you'd like to load.");
if (str !== '') {
gistId = getGistId( str );
loadingFromGist = true;
@ -235,7 +232,7 @@ THE SOFTWARE.
// ------------------ gist publish --------------
$('#gist').click(function(){
if (confirm("Are you sure you want to publish all your files anonymously as a public gist on github.com")) {
if (confirm("Are you sure you want to publish all your files anonymously as a public gist on github.com?")) {
var files = {};
var filesArr = getFiles();
@ -261,7 +258,7 @@ THE SOFTWARE.
}
});
}
})
});
// ----------------- file selector-------------
@ -272,7 +269,7 @@ THE SOFTWARE.
SOL_CACHE_FILE = SOL_CACHE_UNTITLED + untitledCount;
window.localStorage[SOL_CACHE_FILE] = '';
updateFiles();
})
});
$filesEl.on('click', '.file:not(.active)', showFileHandler);
@ -449,7 +446,7 @@ THE SOFTWARE.
else getEditorSize();
// ----------------- toggle right hand panel
// ----------------- toggle right hand panel -----------------
var toggledRHP = false;
$('.toggleRHP').click(function(){
@ -634,7 +631,6 @@ THE SOFTWARE.
var combined = function(contractName, interface, bytecode){
return JSON.stringify([{name: contractName, interface: interface, bytecode: bytecode}]);
};
var renderContracts = function(data, source) {

Loading…
Cancel
Save