Commit b1eafa1e authored by Alex Beregszaszi's avatar Alex Beregszaszi

File name must be processed by utils.fileKey()

parent 5365e445
......@@ -172,8 +172,8 @@ function Editor (loadingFromGist, storage) {
function setupStuff (files) {
if (files.length === 0) {
if (loadingFromGist) return;
files.push(examples.ballot.name);
storage.set(examples.ballot.name, examples.ballot.content);
files.push(utils.fileKey(examples.ballot.name));
storage.set(utils.fileKey(examples.ballot.name), examples.ballot.content);
}
SOL_CACHE_FILE = files[0];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment