|
|
@ -694,11 +694,12 @@ var run = function () { |
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
|
|
|
|
function runCompiler () { |
|
|
|
function runCompiler () { |
|
|
|
var files = {} |
|
|
|
editorSyncFile() |
|
|
|
if (currentFile) { |
|
|
|
if (currentFile) { |
|
|
|
var target = currentFile |
|
|
|
var target = currentFile |
|
|
|
files[target] = editor.get(currentFile) |
|
|
|
var sources = {} |
|
|
|
compiler.compile(files, target) |
|
|
|
sources[target] = files.get(target) |
|
|
|
|
|
|
|
compiler.compile(sources, target) |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|