From 629b9208503369c3f20ceb59685ef49766344093 Mon Sep 17 00:00:00 2001 From: Terry Truong Date: Sun, 29 Jan 2023 12:21:55 +1100 Subject: Adjust frontend coding style Add line spacing and section comments Fix 'Last updated' line in help modal being shown despite overflow --- src/tol.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/tol.ts') diff --git a/src/tol.ts b/src/tol.ts index bd299b3..3f7446b 100644 --- a/src/tol.ts +++ b/src/tol.ts @@ -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; -- cgit v1.2.3