diff --git a/Promise.js b/Promise.js index 86726bd..a273c24 100644 --- a/Promise.js +++ b/Promise.js @@ -94,8 +94,8 @@ function(list, handler, onerror){ : handler(elem) }) : handler(elem)) // compensate for the outer .flat()... - // XXX this might expand things on the wrong level -- test... - // XXX BUG: this breaks for promises returned by handler(..)... + // XXX this will mess up the return of handler(..) + // XXX this braks on non-array returns... .flat() }) : handler(elem) }, // onerror...