[x] Remove utils.ts as that was renamed to codemirror-utils.ts - IN PROGRESS
[x] Unify time formats across eDSL and SeqN.txt - Relative time is mismatched between the two editors.
[x] time-utils.ts - I don't think that the g flag is required for each of the regular expressions. Once those are removed, setting the regex.lastIndex would no longer be necessary.
[x] time-utils.ts - For isTimeBalanced, rather than passing the regex, can we just pass in defined type constants or enums (i.e. 'ABSOLUTE_TIME') so that the arguments are much more explicit
[x] De-dupe and comment isTimeBalanced which can be found in both time-utils.ts and timeDiagnostics.ts
[x] More docstrings for time-utils.ts functions
[x] Add unit test to verify time calculations are correct
utils.ts
as that was renamed tocodemirror-utils.ts
-IN PROGRESS
eDSL
andSeqN.txt
-Relative time
is mismatched between the two editors.time-utils.ts
- I don't think that theg
flag is required for each of the regular expressions. Once those are removed, setting theregex.lastIndex
would no longer be necessary.time-utils.ts
- ForisTimeBalanced
, rather than passing the regex, can we just pass in defined type constants or enums (i.e. 'ABSOLUTE_TIME') so that the arguments are much more explicittime-utils.ts
functions