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

Function breakDownLine

codebase/sources/dhtmlxscheduler.js:18064–18070  ·  view source on GitHub ↗
(line)

Source from the content-addressed store, hash-verified

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

Callers 1

parseInputFunction · 0.70

Calls 1

extractNameFunction · 0.70

Tested by

no test coverage detected