still cringe ngl
This commit is contained in:
parent
3b47ad5406
commit
d44f2fb73d
1 changed files with 6 additions and 3 deletions
|
@ -15,6 +15,9 @@ json.forEach((v, i) => {
|
||||||
"---": "---"
|
"---": "---"
|
||||||
};
|
};
|
||||||
var funnyTable = [
|
var funnyTable = [
|
||||||
|
"|",
|
||||||
|
"|",
|
||||||
|
"|"
|
||||||
];
|
];
|
||||||
v.appearing_characters.forEach((vv, vi) => {
|
v.appearing_characters.forEach((vv, vi) => {
|
||||||
chars[vv[0]] = vv[1];
|
chars[vv[0]] = vv[1];
|
||||||
|
@ -35,9 +38,9 @@ json.forEach((v, i) => {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
if (json[i - 1]) {
|
if (json[i - 1]) {
|
||||||
funnyTable[0] = "| |";
|
funnyTable[0] += " |";
|
||||||
funnyTable[1] = "| --- |";
|
funnyTable[1] += " --- |";
|
||||||
funnyTable[2] = "| [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |";
|
funnyTable[2] += " [Previous](https://meowcatheorange.github.io/Dizzy-AU/story/human-readable/" + json[i - 1].id + ") |";
|
||||||
}
|
}
|
||||||
if (json[i + 1]) {
|
if (json[i + 1]) {
|
||||||
funnyTable[0] += " |";
|
funnyTable[0] += " |";
|
||||||
|
|
Loading…
Reference in a new issue