UNPKG

@dbp-topics/signature

Version:

[GitLab Repository](https://gitlab.tugraz.at/dbp/esign/signature) | [npmjs package](https://www.npmjs.com/package/@dbp-topics/signature) | [Unpkg CDN](https://unpkg.com/browse/@dbp-topics/signature/) | [Esign Bundle](https://gitlab.tugraz.at/dbp/esign/dbp

16 lines (13 loc) 311 B
export class Activity { constructor(data) { this._data = data; } getName(lang) { let desc = this._data['name']; return desc[lang] ?? desc['en']; } getDescription(lang) { let desc = this._data['description']; return desc[lang] ?? desc['en']; } }