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

Function extractName

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

Source from the content-addressed store, hash-verified

18055 return __assign(__assign({}, DEFAULT_OPTIONS), options);
18056 }
18057 function extractName(line) {
18058 if (line.indexOf(":") === -1) {
18059 return { name: "RRULE", value: line };
18060 }
18061 var _a = split(line, ":", 1), name = _a[0], value = _a[1];
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(";");

Callers 1

breakDownLineFunction · 0.70

Calls 1

splitFunction · 0.70

Tested by

no test coverage detected