This commit is contained in:
TheGiddyLimit
2024-01-01 19:34:49 +00:00
parent 332769043f
commit 8117ebddc5
1748 changed files with 2544409 additions and 1 deletions

28
js/names.js Normal file
View File

@@ -0,0 +1,28 @@
"use strict";
class NamesPage extends TableListPage {
constructor () {
super({
dataSource: "data/names.json",
dataProps: ["name"],
});
}
static _COL_NAME_1 = "Name";
_getHash (ent) {
return UrlUtil.encodeForHash([ent.name, ent.source, ent.option]);
}
_getHeaderId (ent) {
return UrlUtil.encodeForHash([ent.name, ent.source]);
}
_getDisplayName (ent) {
return Renderer.table.getConvertedNameTableName(ent, ent);
}
}
const namesPage = new NamesPage();
window.addEventListener("load", () => namesPage.pOnLoad());