if(typeofresp[key]!=='undefined'&&obj[key]!==resp[key]&&confirm('Overwrite "'+key+'"? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.')){
if(typeofresp[key]!=='undefined'&&obj[key]!==resp[key]&&confirm('Overwrite "'+key+'"? Click Ok to overwrite local file with file from cloud. Cancel will push your local file to the cloud.')){
// ----------------- tabbed menu -------------------
// ----------------- tabbed menu -------------------
$('#options li').click(function(ev){
$('#options li').click(function(ev){
...
@@ -155,7 +178,7 @@ var run = function () {
...
@@ -155,7 +178,7 @@ var run = function () {
$('#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=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='