diff options
| author | Terry Truong <terry06890@gmail.com> | 2022-05-05 13:17:13 +1000 |
|---|---|---|
| committer | Terry Truong <terry06890@gmail.com> | 2022-05-05 13:19:02 +1000 |
| commit | 6bb1d2e369512bec91ecc0c63238f4ad4c54c528 (patch) | |
| tree | 1ff7b085fb518ec69c4d1cc82879d4f588a43991 /src/tol.ts | |
| parent | 975638afe73b3aec4617987800fc6871e6134469 (diff) | |
Display common names
Also add capitalizeWords() in util.ts, for more capitalization control
Diffstat (limited to 'src/tol.ts')
| -rw-r--r-- | src/tol.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -11,11 +11,13 @@ export class TolNode { tips: number; pSupport: boolean; imgName: null | string; + commonName: null | string; constructor(children: string[] = [], parent = null, tips = 0, pSupport = false){ this.children = children; this.parent = parent; this.tips = tips; this.pSupport = pSupport; this.imgName = null; + this.commonName = null; } } |
