Commit 2b40ca43 authored by Alex Beregszaszi's avatar Alex Beregszaszi

Do not shadow variables

parent 61eab24a
......@@ -694,11 +694,11 @@ var run = function () {
})
function runCompiler () {
var files = {}
if (currentFile) {
var target = currentFile
files[target] = editor.get(currentFile)
compiler.compile(files, target)
var sources = {}
sources[target] = editor.get(target)
compiler.compile(sources, target)
}
}
......
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