зеркало из https://github.com/mozilla/pluotsorbet.git
Allow benchmarks to use the FS and to use additional JARs
This commit is contained in:
Родитель
e3af4429b2
Коммит
7b298ef043
5
main.js
5
main.js
|
@ -213,6 +213,11 @@ function start() {
|
|||
jvm.startIsolate0(config.main, config.args);
|
||||
}
|
||||
|
||||
// If we're not running a MIDlet, we need to wait everything to be loaded.
|
||||
if (!config.midletClassName || config.midletClassName == "RunTests") {
|
||||
loadingPromises = loadingPromises.concat(loadingMIDletPromises);
|
||||
}
|
||||
|
||||
Promise.all(loadingPromises).then(start, function (reason) {
|
||||
console.error("Loading failed: \"" + reason + "\"");
|
||||
});
|
||||
|
|
Загрузка…
Ссылка в новой задаче