diff --git a/docs/Display.html b/docs/Display.html index a28a599..8c07607 100644 --- a/docs/Display.html +++ b/docs/Display.html @@ -121,7 +121,7 @@
import { PostBuilder } from "./PostBuilder.js";
export class MastodonPostBuilder extends PostBuilder {
- // TODO: review this function, remove if not needed
- #interleaveArrays(responses) {
- const maxLength = Math.max(...responses.map(response => response.length));
- const result = [];
-
- for (let i = 0; i < maxLength; i++) {
- for (let j = 0; j < responses.length; j++) {
- if (responses[j].length > i) {
- result.push(responses[j][i]);
- }
- }
- }
-
- return result;
- }
-
/**
*
* @param {Object} rawPost - The raw json data from the API
@@ -78,7 +62,7 @@ Home
Classes