const HanyuuOAuth2AppInfoLink = function(info) {
const element =
{info.display}
;
return {
get element() { return element; },
};
};
const HanyuuOAuth2AppInfo = function(info) {
const linksElem =
;
if(Array.isArray(info.links))
for(const link of info.links)
linksElem.appendChild((new HanyuuOAuth2AppInfoLink(link)).element);
// TODO: author should be listed
const element = ;
return {
get element() { return element; },
};
};