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

Do not shadow variables

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