From f36b9d9ac806148e9df3f54f788b7348cb3f54cd Mon Sep 17 00:00:00 2001 From: Alex Beregszaszi Date: Wed, 11 Jan 2017 23:30:53 +0000 Subject: [PATCH] Avoid showing the config file in the editor (temporary solution) --- src/app/editor.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/editor.js b/src/app/editor.js index 97e1a99af0..5a54bc115b 100644 --- a/src/app/editor.js +++ b/src/app/editor.js @@ -95,7 +95,8 @@ function Editor (loadingFromGist, storage) { function getFiles () { var files = [] storage.keys().forEach(function (f) { - if (utils.isCachedFile(f)) { + // NOTE: as a temporary measure do not show the config file in the editor + if (utils.isCachedFile(f) && (f !== (utils.fileKey('.browser-solidity.json')))) { files.push(f) if (!sessions[f]) sessions[f] = newEditorSession(f) }