debt - more promise cleanup

This commit is contained in:
Johannes Rieken 2019-02-08 15:19:17 +01:00
parent a404c91e22
commit 70e48eeb52
5 changed files with 386 additions and 392 deletions

View file

@ -69,7 +69,7 @@
}
require(['./samples'], function(SAMPLES) {
monaco.Promise.join(
Promise.all(
SAMPLES.map(resolveSample)
).then(function(samples) {
renderSamples(samples);
@ -323,4 +323,4 @@
<div id="qunit"></div>
<div id="qunit-fixture"></div>
</body>
</html>
</html>