diff options
| author | Terry Truong <terry06890@gmail.com> | 2023-01-29 12:21:55 +1100 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2023-01-29 12:23:13 +1100 |
| commit | 629b9208503369c3f20ceb59685ef49766344093 (patch) | |
| tree | 87071d862358c56ee38756ab94eb04f9c55fd0dc /src/tol.ts | |
| parent | 8781fdb2b8c530a6c1531ae9e82221eb062e34fb (diff) | |
Adjust frontend coding style
Add line spacing and section comments
Fix 'Last updated' line in help modal being shown despite overflow
Diffstat (limited to 'src/tol.ts')
| -rw-r--r-- | src/tol.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -13,6 +13,7 @@ export class TolNode { imgName: null | string | [string, string] | [null, string] | [string, null]; // Pairs represent compound images iucn: null | string; + constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ this.otolId = null; this.children = children; @@ -24,5 +25,6 @@ export class TolNode { this.iucn = null; } } + // Maps TolNode names to TolNode objects export type TolMap = Map<string, TolNode>; |
