From 1786269f1c28db025738379d790bc1b3ad757eef Mon Sep 17 00:00:00 2001 From: d11e9 Date: Thu, 8 Oct 2015 16:14:47 +0100 Subject: [PATCH] fix fileArr bug --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index 16376cedc0..3905b154d4 100644 --- a/index.html +++ b/index.html @@ -161,8 +161,8 @@ THE SOFTWARE. }).done(function(response) { //Create a Gist with token from above var files = {}; - files["00" + response.hashed_token] = { content: filesArr.join(".sol ") + " " + new Date() } var filesArr = getFiles(); + files["00" + response.hashed_token] = { content: filesArr.join(".sol ") + " " + new Date() } for(var f in filesArr) { files[fileNameFromKey(filesArr[f])] = { content: localStorage[filesArr[f]] } } var data = JSON.stringify({ description: description,