MCPcopy Create free account
hub / github.com/Fiddle-Digital/string-scroll / getInstance

Method getInstance

src/StringParse.ts:6–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

4export class StringParse {
5 private static i: StringParse;
6 public static getInstance(): StringParse {
7 if (!StringParse.i) {
8 StringParse.i = new StringParse();
9 }
10 return StringParse.i;
11 }
12
13 public parseOffset(e: any, o: any = "0,0", wH: any, baseRem: number = 16) {
14 let ofs = o.split(',');

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected