kopia lustrzana https://github.com/backface/turtlestitch
Update threads.js
rodzic
d7b5f0160e
commit
9f0f28fff7
|
@ -4561,6 +4561,9 @@ Process.prototype.assemble = function (blocks) {
|
||||||
blocks.cdr().map(each => this.assemble(each))
|
blocks.cdr().map(each => this.assemble(each))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
if (blocks.isEmpty()) {
|
||||||
|
return blocks;
|
||||||
|
}
|
||||||
return blocks.map(each => this.assemble(each)).itemsArray().reduce(
|
return blocks.map(each => this.assemble(each)).itemsArray().reduce(
|
||||||
(a, b) => a.copyWithNext(b)
|
(a, b) => a.copyWithNext(b)
|
||||||
);
|
);
|
||||||
|
|
Ładowanie…
Reference in New Issue