// ----------------- tabbed menu -------------------
// ----------------- tabbed menu -------------------
$('#options li').click(function(ev){
$('#options li').click(function(ev){
...
@@ -110,12 +106,10 @@ var run = function () {
...
@@ -110,12 +106,10 @@ var run = function () {
}
}
});
});
// ------------------ gist publish --------------
// ------------------ gist publish --------------
$('#gist').click(function(){
$('#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?')){
varfiles=editor.packageFiles();
varfiles=editor.packageFiles();
vardescription='Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. \n Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version='+queryParams.get().version+'&optimize='+queryParams.get().optimize+'&gist=';
vardescription='Created using browser-solidity: Realtime Ethereum Contract Compiler and Runtime. \n Load this file by pasting this gists URL or ID at https://ethereum.github.io/browser-solidity/#version='+queryParams.get().version+'&optimize='+queryParams.get().optimize+'&gist=';