Bladeren bron

This here is what’s causing documentation to crash, commented out until issue is resolved

Artur Paikin 9 jaren geleden
bovenliggende
commit
6b1d84c1de
1 gewijzigde bestanden met toevoegingen van 7 en 8 verwijderingen
  1. 7 8
      src/core/Utils.js

+ 7 - 8
src/core/Utils.js

@@ -1,11 +1,10 @@
-/**
-* Runs a waterfall of promises: calls each task, passing the result
-* from the previous one as an argument. The first task is run with an empty array.
-*
-* @param {Array} tasks an array of Promises to run waterfall on
-* @return {Promise} of the last task
-*/
-
+// /**
+// * Runs a waterfall of promises: calls each task, passing the result
+// * from the previous one as an argument. The first task is run with an empty array.
+// *
+// * @param {Array} tasks an array of Promises to run waterfall on
+// * @return {Promise} of the last task
+// */
 function promiseWaterfall([resolvedPromise, ...tasks]) {
 function promiseWaterfall([resolvedPromise, ...tasks]) {
   const finalTaskPromise = tasks.reduce(function (prevTaskPromise, task) {
   const finalTaskPromise = tasks.reduce(function (prevTaskPromise, task) {
     return prevTaskPromise.then(task);
     return prevTaskPromise.then(task);