MCPcopy Create free account
hub / github.com/DHTMLX/scheduler / breakDownLine

Function breakDownLine

codebase/sources/dhtmlxscheduler.es.js:18060–18066  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

18058 return { name, value };
18059}
18060function breakDownLine(line) {
18061 var _a = extractName(line), name = _a.name, value = _a.value;
18062 var parms = name.split(";");
18063 if (!parms)
18064 throw new Error("empty property name");
18065 return { name: parms[0].toUpperCase(), parms: parms.slice(1), value };
18066}
18067function splitIntoLines(s, unfold) {
18068 if (unfold === void 0) {
18069 unfold = false;

Callers 1

parseInputFunction · 0.70

Calls 1

extractNameFunction · 0.70

Tested by

no test coverage detected