Commit 7bb7aadc authored by chriseth's avatar chriseth Committed by GitHub

Merge pull request #96 from Denton-L/prefix-fix

Suppress displaying the file prefix for compiler errors
parents 3eff4cf8 e192ce14
...@@ -45,7 +45,7 @@ function Compiler (editor, handleGithubCall, outputField, hidingRHP, updateFiles ...@@ -45,7 +45,7 @@ function Compiler (editor, handleGithubCall, outputField, hidingRHP, updateFiles
editor.setCacheFileContent(input); editor.setCacheFileContent(input);
var files = {}; var files = {};
files[editor.getCacheFile()] = input; files[utils.fileNameFromKey(editor.getCacheFile())] = input;
gatherImports(files, missingInputs, function (input, error) { gatherImports(files, missingInputs, function (input, error) {
outputField.empty(); outputField.empty();
if (input === null) { if (input === null) {
......
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