compiler: missingInputs should not be passed from the outside

pull/1/head
Alex Beregszaszi 8 years ago
parent 751f109fbf
commit 98fb006d0b
  1. 4
      src/app/compiler.js

@ -37,14 +37,14 @@ function Compiler (editor, handleGithubCall) {
}) })
} }
var compile = function (missingInputs) { var compile = function () {
editor.clearAnnotations() editor.clearAnnotations()
self.event.trigger('compilationStarted', []) self.event.trigger('compilationStarted', [])
var input = editor.getValue() var input = editor.getValue()
var files = {} var files = {}
files[utils.fileNameFromKey(editor.getCacheFile())] = input files[utils.fileNameFromKey(editor.getCacheFile())] = input
internalCompile(files, missingInputs) internalCompile(files)
} }
this.compile = compile this.compile = compile

Loading…
Cancel
Save