Do not shadow variables

pull/1/head
Alex Beregszaszi 8 years ago
parent 61eab24a7f
commit 2b40ca4388
  1. 6
      src/app.js

@ -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)
}
}

Loading…
Cancel
Save